diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-12-17 16:31:49 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-12-18 00:32:14 +0000 |
commit | aa27e665b1d469e54b8cbb9931d5324acdf4dc75 (patch) | |
tree | 809a647ffb7f63cad7d2cfadda44c46a7f439ba6 /file.c | |
parent | 51522b33723dec4dd0481dcabc261010be39937c (diff) | |
download | wireshark-aa27e665b1d469e54b8cbb9931d5324acdf4dc75.tar.gz wireshark-aa27e665b1d469e54b8cbb9931d5324acdf4dc75.tar.bz2 wireshark-aa27e665b1d469e54b8cbb9931d5324acdf4dc75.zip |
Rename WTAP_ERR_REC_TYPE_UNSUPPORTED to WTAP_ERR_UNWRITABLE_REC_TYPE.
That indicates that it's a problem specific to *writing* capture files;
we've already converted some errors to that style, and added a new one
in that style.
Change-Id: I8268316fd8b1a9e301bf09ae970b4b1fbcb35c9d
Reviewed-on: https://code.wireshark.org/review/5826
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1599,7 +1599,7 @@ cf_merge_files(char **out_filenamep, int in_file_count, g_free(display_basename); break; - case WTAP_ERR_REC_TYPE_UNSUPPORTED: + case WTAP_ERR_UNWRITABLE_REC_TYPE: /* * This is a problem with the particular record we're writing and * the file type and subtype we're writing; note that, and report @@ -4203,7 +4203,7 @@ save_record(capture_file *cf, frame_data *fdata, fdata->num, wtap_file_type_subtype_string(args->file_type)); break; - case WTAP_ERR_REC_TYPE_UNSUPPORTED: + case WTAP_ERR_UNWRITABLE_REC_TYPE: /* * This is a problem with the particular record we're writing and * the file type and subtype we're writing; note that, and report |