aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ftp.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-ftp.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-ftp.c')
-rw-r--r--epan/dissectors/packet-ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ftp.c b/epan/dissectors/packet-ftp.c
index 9b338d1f30..53bc48965a 100644
--- a/epan/dissectors/packet-ftp.c
+++ b/epan/dissectors/packet-ftp.c
@@ -911,7 +911,7 @@ dissect_ftpdata(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* Check the first few chars to see whether it looks like a text file or not */
check_chars = MIN(10, data_length);
for (i=0; i < check_chars; i++) {
- if (!isprint(tvb_get_guint8(tvb, i))) {
+ if (!g_ascii_isprint(tvb_get_guint8(tvb, i))) {
is_text = FALSE;
break;
}