From ee33bc6ab73e396045b2f249242275564b89cc13 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 17 Sep 2009 12:17:42 -0500 Subject: Use g_ascii_isdigit --- src/common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/common.c') diff --git a/src/common.c b/src/common.c index 63884a3a..744d0ad2 100644 --- a/src/common.c +++ b/src/common.c @@ -25,7 +25,6 @@ #define _GNU_SOURCE #include -#include #include #include @@ -528,7 +527,7 @@ gboolean parse_ss_control_string(char *str, int *ss_type, goto out; for (i = 0; i < strlen(*sc); i++) - if (!isdigit((*sc)[i])) + if (!g_ascii_isdigit((*sc)[i])) goto out; NEXT_FIELD(c, *sia); -- cgit v1.2.3