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/reassemble_test.c | |
parent | b4eddd32c18816b7b5f9e074b88559d88f28123c (diff) |
Replace g_assert() with ws_assert()
Diffstat (limited to 'epan/reassemble_test.c')
-rw-r--r-- | epan/reassemble_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/reassemble_test.c b/epan/reassemble_test.c index a803bf230a..89ffafee57 100644 --- a/epan/reassemble_test.c +++ b/epan/reassemble_test.c @@ -111,7 +111,7 @@ static void print_fd(fragment_head *fd, gboolean is_head) { int i; - g_assert(fd != NULL); + g_assert_true(fd != NULL); printf(" %16p %16p %3u %3u %3u", fd, fd->next, fd->frame, fd->offset, fd->len); if (is_head) { printf(" %3u %3u", fd->datalen, fd->reassembled_in); @@ -133,7 +133,7 @@ static void print_fd_chain(fragment_head *fd_head) { fragment_item *fdp; - g_assert(fd_head != NULL); + g_assert_true(fd_head != NULL); print_fd(fd_head, TRUE); for (fdp=fd_head->next; fdp != NULL; fdp=fdp->next) { print_fd(fdp, FALSE); |