diff options
Diffstat (limited to 'epan/dissectors/packet-msrp.c')
-rw-r--r-- | epan/dissectors/packet-msrp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/epan/dissectors/packet-msrp.c b/epan/dissectors/packet-msrp.c index 12e8d6d040..368c5e5fb0 100644 --- a/epan/dissectors/packet-msrp.c +++ b/epan/dissectors/packet-msrp.c @@ -27,7 +27,6 @@ #include "config.h" #include <stdlib.h> -#include <ctype.h> #include <glib.h> @@ -516,9 +515,9 @@ dissect_msrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_ */ is_msrp_response = FALSE; if (token_3_len == 3) { - if (isdigit(tvb_get_guint8(tvb, token_3_start)) && - isdigit(tvb_get_guint8(tvb, token_3_start + 1)) && - isdigit(tvb_get_guint8(tvb, token_3_start + 2))) { + if (g_ascii_isdigit(tvb_get_guint8(tvb, token_3_start)) && + g_ascii_isdigit(tvb_get_guint8(tvb, token_3_start + 1)) && + g_ascii_isdigit(tvb_get_guint8(tvb, token_3_start + 2))) { is_msrp_response = TRUE; } } |