Mercurial > pidgin.yaz
diff libpurple/protocols/simple/simple.c @ 16147:af92b284664a
simple-casepatch.diff from achris in ticket #98
This makes some comparisons in the SIMPLE prpl case-insensitive.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 15 Apr 2007 18:28:56 +0000 |
parents | 32c366eeeb99 |
children | 3e400c5b0b51 |
line wrap: on
line diff
--- a/libpurple/protocols/simple/simple.c Sun Apr 15 18:19:33 2007 +0000 +++ b/libpurple/protocols/simple/simple.c Sun Apr 15 18:28:56 2007 +0000 @@ -1235,9 +1235,9 @@ while(tmp && tmp < acceptheader + strlen(acceptheader)) { gchar *tmp2 = strchr(tmp, ','); if(tmp2) *tmp2 = '\0'; - if(!strcmp("application/pidf+xml", tmp)) + if(!strcasecmp("application/pidf+xml", tmp)) foundpidf = TRUE; - if(!strcmp("application/xpidf+xml", tmp)) + if(!strcasecmp("application/xpidf+xml", tmp)) foundxpidf = TRUE; if(tmp2) { *tmp2 = ',';