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/libpcap.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/libpcap.h')
-rw-r--r-- | wiretap/libpcap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/libpcap.h b/wiretap/libpcap.h index 643e611f73..6bbff94e42 100644 --- a/wiretap/libpcap.h +++ b/wiretap/libpcap.h @@ -97,7 +97,7 @@ struct pcaprec_nokia_hdr { }; wtap_open_return_val libpcap_open(wtap *wth, int *err, gchar **err_info); -gboolean libpcap_dump_open(wtap_dumper *wdh, int *err); +gboolean libpcap_dump_open(wtap_dumper *wdh, int *err, gchar **err_info); int libpcap_dump_can_write_encap(int encap); #endif |