diff options
Diffstat (limited to 'epan/dissectors/packet-syslog.c')
-rw-r--r-- | epan/dissectors/packet-syslog.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-syslog.c b/epan/dissectors/packet-syslog.c index f03e3a6a4a..c9bc3c2ee4 100644 --- a/epan/dissectors/packet-syslog.c +++ b/epan/dissectors/packet-syslog.c @@ -29,7 +29,6 @@ #include "config.h" #include <string.h> -#include <ctype.h> #include <glib.h> @@ -246,7 +245,7 @@ dissect_syslog(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) msg_off++; pri = 0; while (tvb_bytes_exist(tvb, msg_off, 1) && - isdigit(tvb_get_guint8(tvb, msg_off)) && msg_off <= MAX_DIGITS) { + g_ascii_isdigit(tvb_get_guint8(tvb, msg_off)) && msg_off <= MAX_DIGITS) { pri = pri * 10 + (tvb_get_guint8(tvb, msg_off) - '0'); msg_off++; } |