diff libpurple/protocols/simple/simple.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 cd2a9f9ca378
children 94f4048f1380 5c1ed6296b56
line wrap: on
line diff
--- a/libpurple/protocols/simple/simple.c	Sun Jul 01 01:25:02 2007 +0000
+++ b/libpurple/protocols/simple/simple.c	Sun Jul 01 01:41:57 2007 +0000
@@ -337,7 +337,7 @@
 		return;
 	}
 
-	if(!g_strncasecmp(hdr, "NTLM", 4)) {
+	if(!g_ascii_strncasecmp(hdr, "NTLM", 4)) {
 		purple_debug_info("simple", "found NTLM\n");
 		auth->type = 2;
 		parts = g_strsplit(hdr+5, "\", ", 0);