Mercurial > pidgin
diff libpurple/protocols/simple/simple.c @ 17082:7ade887fd3f6
Replace strcasecmp() calls with glib equivalents.
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Mon, 14 May 2007 23:35:50 +0000 |
| parents | a338acd14365 |
| children | 2e4e3c3028ae |
line wrap: on
line diff
--- a/libpurple/protocols/simple/simple.c Mon May 14 23:35:28 2007 +0000 +++ b/libpurple/protocols/simple/simple.c Mon May 14 23:35:50 2007 +0000 @@ -1239,9 +1239,9 @@ while(tmp && tmp < acceptheader + strlen(acceptheader)) { gchar *tmp2 = strchr(tmp, ','); if(tmp2) *tmp2 = '\0'; - if(!strcasecmp("application/pidf+xml", tmp)) + if(!g_ascii_strcasecmp("application/pidf+xml", tmp)) foundpidf = TRUE; - if(!strcasecmp("application/xpidf+xml", tmp)) + if(!g_ascii_strcasecmp("application/xpidf+xml", tmp)) foundxpidf = TRUE; if(tmp2) { *tmp2 = ',';
