diff options
author | Guy Harris <gharris@sonic.net> | 2020-10-13 18:48:46 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-10-14 04:51:45 +0000 |
commit | 6e6233521aa4f0e82b79219cb7e32912012d9ccf (patch) | |
tree | 1836305bf265c1aff78d61677343f3fa23bc2aac /wiretap/snoop.h | |
parent | 92e1b110f3f70d295adb10ce0dc5fad9a7189912 (diff) |
Have WTAP_ERR_INTERNAL include an err_info string giving details.
That way, users won't just see "You got an internal error", the details
will be given, so they can report them in a bug.
Diffstat (limited to 'wiretap/snoop.h')
-rw-r--r-- | wiretap/snoop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/snoop.h b/wiretap/snoop.h index 249257b995..3c0fcd92de 100644 --- a/wiretap/snoop.h +++ b/wiretap/snoop.h @@ -14,7 +14,7 @@ #include "ws_symbol_export.h" wtap_open_return_val snoop_open(wtap *wth, int *err, gchar **err_info); -gboolean snoop_dump_open(wtap_dumper *wdh, int *err); +gboolean snoop_dump_open(wtap_dumper *wdh, int *err, gchar **err_info); int snoop_dump_can_write_encap(int encap); #endif |