comparison 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
comparison
equal deleted inserted replaced
18397:e122b631a657 18398:16bdcffb1c62
335 if(!hdr) { 335 if(!hdr) {
336 purple_debug_error("simple", "fill_auth: hdr==NULL\n"); 336 purple_debug_error("simple", "fill_auth: hdr==NULL\n");
337 return; 337 return;
338 } 338 }
339 339
340 if(!g_strncasecmp(hdr, "NTLM", 4)) { 340 if(!g_ascii_strncasecmp(hdr, "NTLM", 4)) {
341 purple_debug_info("simple", "found NTLM\n"); 341 purple_debug_info("simple", "found NTLM\n");
342 auth->type = 2; 342 auth->type = 2;
343 parts = g_strsplit(hdr+5, "\", ", 0); 343 parts = g_strsplit(hdr+5, "\", ", 0);
344 i = 0; 344 i = 0;
345 while(parts[i]) { 345 while(parts[i]) {