diff options
author | AndersBroman <anders.broman@ericsson.com> | 2014-05-13 14:44:47 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-05-13 16:14:07 +0000 |
commit | 3157bf6ba5e4896b28316695ecd3a4659631c8c2 (patch) | |
tree | 58a3778203fb4bcb46746532a9adf9a9dd8d0c17 /epan/dissectors/packet-at.c | |
parent | f7819de76ab4ccffaa544c46211011f3ade7fede (diff) |
isprint() -> g_ascii_isprint()
Change-Id: Ia586ef8ce500d5fc7578c52014206fa7a7eaea41
Reviewed-on: https://code.wireshark.org/review/1624
Reviewed-by: Anders Broman <a.broman58@gmail.com>
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); |