diff libpurple/protocols/silc/buddy.c @ 18398:16bdcffb1c62

Use the glib strcasecmp functions everywhere, as we've had reports of problems on Windows (with Visual Studio) and the Maemo platform. This way we don't need to worry about where to include <strings.h>.
author Richard Laager <rlaager@wiktel.com>
date Sun, 01 Jul 2007 01:41:57 +0000
parents ab6d2763b8d8
children 285bb637a2b7 77a35a382a73
line wrap: on
line diff
--- a/libpurple/protocols/silc/buddy.c	Sun Jul 01 01:25:02 2007 +0000
+++ b/libpurple/protocols/silc/buddy.c	Sun Jul 01 01:41:57 2007 +0000
@@ -1252,7 +1252,7 @@
 			SilcClientEntry entry;
 			silc_dlist_start(clients);
 			while ((entry = silc_dlist_get(clients))) {
-				if (!strncasecmp(b->name, entry->nickname,
+				if (!g_ascii_strncasecmp(b->name, entry->nickname,
 						 strlen(b->name))) {
 					client_entry = entry;
 					break;