aboutsummaryrefslogtreecommitdiffstats
path: root/sharkd_session.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2021-06-18 19:21:42 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-06-19 01:23:31 +0000
commit0e50979b3f45250ee1dacd5c826a281ad9a9c460 (patch)
treecfaf2f2221f9ebd948fab14b180cd3219dcc3523 /sharkd_session.c
parentb4eddd32c18816b7b5f9e074b88559d88f28123c (diff)
Replace g_assert() with ws_assert()
Diffstat (limited to 'sharkd_session.c')
-rw-r--r--sharkd_session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sharkd_session.c b/sharkd_session.c
index eb6aa5b603..486e45ffdd 100644
--- a/sharkd_session.c
+++ b/sharkd_session.c
@@ -21,6 +21,7 @@
#include <wsutil/wsjson.h>
#include <wsutil/json_dumper.h>
+#include <wsutil/ws_assert.h>
#include <file.h>
#include <epan/epan_dissect.h>
@@ -2714,7 +2715,7 @@ sharkd_session_process_frame_cb_tree(epan_dissect_t *edt, proto_tree *tree, tvbu
{
const char *severity = try_val_to_str(FI_GET_FLAG(finfo, PI_SEVERITY_MASK), expert_severity_vals);
- g_assert(severity != NULL);
+ ws_assert(severity != NULL);
sharkd_json_value_string("s", severity);
}