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 /epan/srt_table.c | |
parent | b4eddd32c18816b7b5f9e074b88559d88f28123c (diff) |
Replace g_assert() with ws_assert()
Diffstat (limited to 'epan/srt_table.c')
-rw-r--r-- | epan/srt_table.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/srt_table.c b/epan/srt_table.c index 56ce01c149..843cff6715 100644 --- a/epan/srt_table.c +++ b/epan/srt_table.c @@ -15,6 +15,7 @@ #include "proto.h" #include "packet_info.h" #include "srt_table.h" +#include <wsutil/ws_assert.h> struct register_srt { int proto_id; /* protocol id (0-indexed) */ @@ -250,7 +251,7 @@ add_srt_table_data(srt_stat_table *rst, int indx, const nstime_t *req_time, pack srt_procedure_t *rp; nstime_t t, delta; - g_assert(indx >= 0 && indx < rst->num_procs); + ws_assert(indx >= 0 && indx < rst->num_procs); rp=&rst->procedures[indx]; /* calculate time delta between request and reply */ |