# HG changeset patch # User Mark Doliner # Date 1179642616 0 # Node ID 7175af86ec017fe51739b666028376c0c6b3b58e # Parent e5cc13b1e0cac91e550b3db0a4eefa170e2bd6a1 Our in-tree gadu-gadu lib doesn't include the glib headers. I don't know if that's something we want to do or not, so I changed these two g_ascii_strcasecmp() calls to strcasecmp() so that it compiles once again. The error was: lib/pubdir50.c: In function 'gg_pubdir50_handle_reply': lib/pubdir50.c:350: error: implicit declaration of function 'g_ascii_strcasecmp' lib/pubdir50.c:350: warning: nested extern declaration of 'g_ascii_strcasecmp' diff -r e5cc13b1e0ca -r 7175af86ec01 libpurple/protocols/gg/lib/pubdir50.c --- a/libpurple/protocols/gg/lib/pubdir50.c Sat May 19 08:12:31 2007 +0000 +++ b/libpurple/protocols/gg/lib/pubdir50.c Sun May 20 06:30:16 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; }