aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-at.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2014-05-13 14:44:47 +0200
committerAnders Broman <a.broman58@gmail.com>2014-05-13 16:14:07 +0000
commit3157bf6ba5e4896b28316695ecd3a4659631c8c2 (patch)
tree58a3778203fb4bcb46746532a9adf9a9dd8d0c17 /epan/dissectors/packet-at.c
parentf7819de76ab4ccffaa544c46211011f3ade7fede (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.c2
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);