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 /extcap/extcap-base.c | |
parent | b4eddd32c18816b7b5f9e074b88559d88f28123c (diff) |
Replace g_assert() with ws_assert()
Diffstat (limited to 'extcap/extcap-base.c')
-rw-r--r-- | extcap/extcap-base.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extcap/extcap-base.c b/extcap/extcap-base.c index a8e1795104..7266a24814 100644 --- a/extcap/extcap-base.c +++ b/extcap/extcap-base.c @@ -20,6 +20,7 @@ #include <errno.h> #include <wsutil/wslog.h> +#include <wsutil/ws_assert.h> /* * If we have getopt_long() in the system library, include <getopt.h>. * Otherwise, we're using our own getopt_long() (either because the @@ -84,9 +85,9 @@ void extcap_base_set_util_info(extcap_parameters * extcap, const char * exename, { extcap->exename = g_path_get_basename(exename); - g_assert(major); + ws_assert(major); if (!minor) - g_assert(!release); + ws_assert(!release); extcap->version = g_strdup_printf("%s%s%s%s%s", major, |