Mercurial > pidgin.yaz
diff libpurple/protocols/gg/lib/pubdir50.c @ 17175:7175af86ec01
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'
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 20 May 2007 06:30:16 +0000 |
parents | 7ade887fd3f6 |
children | 44b4e8bd759b 0f53f60b2018 |
line wrap: on
line diff
--- 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; }