aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/msn')
-rw-r--r--protocols/msn/msn.c2
-rw-r--r--protocols/msn/ns.c4
-rw-r--r--protocols/msn/sb.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/protocols/msn/msn.c b/protocols/msn/msn.c
index 808d41d3..65c19276 100644
--- a/protocols/msn/msn.c
+++ b/protocols/msn/msn.c
@@ -376,7 +376,7 @@ static void msn_buddy_data_add( bee_user_t *bu )
bd = bu->data = g_new0( struct msn_buddy_data, 1 );
g_tree_insert( md->domaintree, bu->handle, bu );
- for( handle = bu->handle; isdigit( *handle ); handle ++ );
+ for( handle = bu->handle; g_ascii_isdigit( *handle ); handle ++ );
if( *handle == ':' )
{
/* Pass a nick hint so hopefully the stupid numeric prefix
diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c
index 5c7e3ff4..c4b6c462 100644
--- a/protocols/msn/ns.c
+++ b/protocols/msn/ns.c
@@ -580,7 +580,7 @@ static int msn_ns_command( struct msn_handler_data *handler, char **cmd, int num
{
ic->flags |= OPT_PONGED;
}
- else if( isdigit( cmd[0][0] ) )
+ else if( g_ascii_isdigit( cmd[0][0] ) )
{
int num = atoi( cmd[0] );
const struct msn_status_code *err = msn_status_by_number( num );
@@ -996,7 +996,7 @@ int msn_ns_sendmessage( struct im_connection *ic, bee_user_t *bu, const char *te
/* This might be a federated contact. Get its network number,
prefixed to bu->handle with a colon. Default is 1. */
- for( handle = bu->handle; isdigit( *handle ); handle ++ )
+ for( handle = bu->handle; g_ascii_isdigit( *handle ); handle ++ )
type = type * 10 + *handle - '0';
if( *handle == ':' )
handle ++;
diff --git a/protocols/msn/sb.c b/protocols/msn/sb.c
index ac7182fb..40e4e00d 100644
--- a/protocols/msn/sb.c
+++ b/protocols/msn/sb.c
@@ -505,7 +505,7 @@ static int msn_sb_command( struct msn_handler_data *handler, char **cmd, int num
}
else if( strcmp( cmd[0], "CAL" ) == 0 )
{
- if( num_parts < 4 || !isdigit( cmd[3][0] ) )
+ if( num_parts < 4 || !g_ascii_isdigit( cmd[3][0] ) )
{
msn_sb_destroy( sb );
return( 0 );
@@ -644,7 +644,7 @@ static int msn_sb_command( struct msn_handler_data *handler, char **cmd, int num
/* PANIC! */
}
}
- else if( isdigit( cmd[0][0] ) )
+ else if( g_ascii_isdigit( cmd[0][0] ) )
{
int num = atoi( cmd[0] );
const struct msn_status_code *err = msn_status_by_number( num );