changeset 18409:b9f003952c40

Once again revert the g_ascii_strncasecmp/g_ascii_strncasecmp changes here.
author Richard Laager <rlaager@wiktel.com>
date Sun, 01 Jul 2007 15:50:40 +0000
parents 49173b32df0d
children 304036f17274
files libpurple/protocols/gg/lib/http.c libpurple/protocols/gg/lib/pubdir50.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/gg/lib/http.c	Sun Jul 01 15:45:51 2007 +0000
+++ b/libpurple/protocols/gg/lib/http.c	Sun Jul 01 15:50:40 2007 +0000
@@ -349,7 +349,7 @@
 			gg_debug(GG_DEBUG_MISC, "=> -----BEGIN-HTTP-HEADER-----\n%s\n=> -----END-HTTP-HEADER-----\n", h->header);
 
 			while (line) {
-				if (!g_ascii_strncasecmp(line, "Content-length: ", 16)) {
+				if (!strncasecmp(line, "Content-length: ", 16)) {
 					h->body_size = atoi(line + 16);
 				}
 				line = strchr(line, '\n');
--- a/libpurple/protocols/gg/lib/pubdir50.c	Sun Jul 01 15:45:51 2007 +0000
+++ b/libpurple/protocols/gg/lib/pubdir50.c	Sun Jul 01 15:50:40 2007 +0000
@@ -347,7 +347,7 @@
 
 		/* jeśli dostaliśmy namier na następne wyniki, to znaczy że
 		 * mamy koniec wyników i nie jest to kolejna osoba. */
-		if (!g_ascii_strcasecmp(field, "nextstart")) {
+		if (!strcasecmp(field, "nextstart")) {
 			res->next = atoi(value);
 			num--;
 		} else {
@@ -390,7 +390,7 @@
 	}
 
 	for (i = 0; i < res->entries_count; i++) {
-		if (res->entries[i].num == num && !g_ascii_strcasecmp(res->entries[i].field, field)) {
+		if (res->entries[i].num == num && !strcasecmp(res->entries[i].field, field)) {
 			value = res->entries[i].value;
 			break;
 		}