aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/ns.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2015-01-17 20:00:49 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2015-01-17 20:00:49 +0000
commit1065dd4f38c81c83934ba51526471072837700ae (patch)
tree42ea01f5040065df60917daca6605318ec4f28df /protocols/msn/ns.c
parentbc7a0d46e36a819755ca3f2b38194fb11eca0dd9 (diff)
parent6b13103dad92d505e038c268af66aeb04b7b4d87 (diff)
Merge cleanup changes. (FSF address fix, and using GLib variants of some
functions which cleans up compiler warnings.)
Diffstat (limited to 'protocols/msn/ns.c')
-rw-r--r--protocols/msn/ns.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c
index 7acf4654..c4b6c462 100644
--- a/protocols/msn/ns.c
+++ b/protocols/msn/ns.c
@@ -19,8 +19,8 @@
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL;
- if not, write to the Free Software Foundation, Inc., 59 Temple Place,
- Suite 330, Boston, MA 02111-1307 USA
+ if not, write to the Free Software Foundation, Inc., 51 Franklin St.,
+ Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <ctype.h>
@@ -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 ++;