diff options
Diffstat (limited to 'wsutil/str_util.c')
-rw-r--r-- | wsutil/str_util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wsutil/str_util.c b/wsutil/str_util.c index 77a0a17b40..c08d96d02f 100644 --- a/wsutil/str_util.c +++ b/wsutil/str_util.c @@ -25,8 +25,6 @@ #include <glib.h> #include "str_util.h" -#include <ctype.h> - int ws_xton(char ch) { @@ -103,7 +101,7 @@ isdigit_string(guchar *str) /* Loop until we reach the end of the string (a null) */ for(pos = 0; str[pos] != '\0'; pos++){ - if(!isdigit(str[pos])){ + if(!g_ascii_isdigit(str[pos])){ /* The string contains a non-digit character */ return FALSE; } |