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 /wsutil/socket.c | |
parent | ef0f022f8629009daf7c31e204b9d65b1805f6e4 (diff) |
Replace g_assert() with ws_assert() in places
Diffstat (limited to 'wsutil/socket.c')
-rw-r--r-- | wsutil/socket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wsutil/socket.c b/wsutil/socket.c index f9409b2b11..2e69caf6a5 100644 --- a/wsutil/socket.c +++ b/wsutil/socket.c @@ -19,6 +19,7 @@ #include <wsutil/socket.h> #include <wsutil/inet_addr.h> +#include <wsutil/ws_assert.h> #ifdef _WIN32 #include <wsutil/win32-utils.h> @@ -143,7 +144,7 @@ ws_socket_ptoa(struct sockaddr_storage *dst, const gchar *src, ret = 0; } else { - g_assert_not_reached(); + ws_assert_not_reached(); } out: |