diff options
Diffstat (limited to 'epan/dissectors/packet-at.c')
-rw-r--r-- | epan/dissectors/packet-at.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-at.c b/epan/dissectors/packet-at.c index 760a965fe4..d1516ceecc 100644 --- a/epan/dissectors/packet-at.c +++ b/epan/dissectors/packet-at.c @@ -49,7 +49,7 @@ static gboolean allowed_chars(tvbuff_t *tvb) len = tvb_length(tvb); for (offset = 0; offset < len; offset++) { val = tvb_get_guint8(tvb, offset); - if (!(isprint(val) || (val == 0x0a) || (val == 0x0d))) + if (!(g_ascii_isprint(val) || (val == 0x0a) || (val == 0x0d))) return (FALSE); } return (TRUE); |