aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/wimaxasncp/packet-wimaxasncp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/wimaxasncp/packet-wimaxasncp.c b/plugins/wimaxasncp/packet-wimaxasncp.c
index 12f7aa5c56..c9b223ba93 100644
--- a/plugins/wimaxasncp/packet-wimaxasncp.c
+++ b/plugins/wimaxasncp/packet-wimaxasncp.c
@@ -30,7 +30,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <ctype.h>
#include <glib.h>
@@ -2442,7 +2441,7 @@ static char *alnumerize(
for ( ; (c = *r); ++r)
{
- if (isalnum((unsigned char)c) || c == '_' || c == '.')
+ if (g_ascii_isalnum(c) || c == '_' || c == '.')
{
/* These characters are fine - copy them */
*(w++) = c;