diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2021-05-24 00:46:43 +0100 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-06-06 20:05:26 +0000 |
commit | 4aff36d501400552d7df59473db17ef7add8b11c (patch) | |
tree | 05518b1962382e2c4edf5935e9c4284747a0b302 /wiretap/file_wrappers.c | |
parent | ef0f022f8629009daf7c31e204b9d65b1805f6e4 (diff) |
Replace g_assert() with ws_assert() in places
Diffstat (limited to 'wiretap/file_wrappers.c')
-rw-r--r-- | wiretap/file_wrappers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/file_wrappers.c b/wiretap/file_wrappers.c index 2fa6871c7f..0f5bb89318 100644 --- a/wiretap/file_wrappers.c +++ b/wiretap/file_wrappers.c @@ -21,6 +21,7 @@ #include "wtap-int.h" #include "file_wrappers.h" #include <wsutil/file_util.h> +#include <wsutil/ws_assert.h> #ifdef HAVE_ZLIB #define ZLIB_CONST @@ -1072,7 +1073,7 @@ file_seek(FILE_T file, gint64 offset, int whence, int *err) guint n; if (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END) { - g_assert_not_reached(); + ws_assert_not_reached(); /* *err = EINVAL; return -1; |