aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
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 /wsutil
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 'wsutil')
-rw-r--r--wsutil/str_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/str_util.c b/wsutil/str_util.c
index 72783f3b91..898ae63171 100644
--- a/wsutil/str_util.c
+++ b/wsutil/str_util.c
@@ -85,7 +85,7 @@ isprint_string(const gchar *str)
/* Loop until we reach the end of the string (a null) */
for(pos = 0; str[pos] != '\0'; pos++){
- if(!isprint(str[pos])){
+ if(!g_ascii_isprint(str[pos])){
/* The string contains a non-printable character */
return FALSE;
}