Mercurial > pidgin.yaz
changeset 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 | e5cc13b1e0ca |
children | 9a649a04fd74 b601943a88b9 |
files | libpurple/protocols/gg/lib/pubdir50.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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; }