diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2021-06-18 19:21:42 +0100 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-06-19 01:23:31 +0000 |
commit | 0e50979b3f45250ee1dacd5c826a281ad9a9c460 (patch) | |
tree | cfaf2f2221f9ebd948fab14b180cd3219dcc3523 /capture_opts.c | |
parent | b4eddd32c18816b7b5f9e074b88559d88f28123c (diff) |
Replace g_assert() with ws_assert()
Diffstat (limited to 'capture_opts.c')
-rw-r--r-- | capture_opts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/capture_opts.c b/capture_opts.c index 13eb70c3b3..e4ce3e1bfb 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -29,6 +29,7 @@ #include <ui/exit_codes.h> #include <wsutil/file_util.h> #include <wsutil/ws_pipe.h> +#include <wsutil/ws_assert.h> #include "capture/capture_ifinfo.h" #include "capture/capture-pcap-util.h" @@ -997,7 +998,7 @@ capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg_ break; default: /* the caller is responsible to send us only the right opt's */ - g_assert_not_reached(); + ws_assert_not_reached(); } return 0; |