diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-12-17 00:29:31 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-12-17 08:31:49 +0000 |
commit | ddcc2aee3d28510ee4f5c4b8dac1e2fc68f1e8e7 (patch) | |
tree | bcc00e4561d3d718bb124b7d8c370d0068c020dd /wiretap/logcat_text.c | |
parent | dbdcae80ba93961f66274f37178d745557786525 (diff) | |
download | wireshark-ddcc2aee3d28510ee4f5c4b8dac1e2fc68f1e8e7.tar.gz |
Rename WTAP_ERR_UNSUPPORTED_FILE_TYPE to WTAP_ERR_UNWRITABLE_FILE_TYPE.
That makes it clearer what the problem is, and that it should only be
returned by the dump code path, not by the read code path.
Change-Id: I22d407efe3ae9fba7aa25f08f050317549866442
Reviewed-on: https://code.wireshark.org/review/5798
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/logcat_text.c')
-rw-r--r-- | wiretap/logcat_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/logcat_text.c b/wiretap/logcat_text.c index a0da65616e..96ec2cb656 100644 --- a/wiretap/logcat_text.c +++ b/wiretap/logcat_text.c @@ -532,7 +532,7 @@ static gboolean logcat_text_dump_text(wtap_dumper *wdh, return FALSE; } } else { - *err = WTAP_ERR_UNSUPPORTED_FILE_TYPE; + *err = WTAP_ERR_UNWRITABLE_FILE_TYPE; return FALSE; } } |