comparison libpurple/protocols/simple/simple.c @ 17143:2e4e3c3028ae

merge of 'ad8976c24b5929a7dc2e27af5ffc3522aafa11d5' and 'd3bfc91bb7217e497887318eb24761f5116bf91a'
author Richard Laager <rlaager@wiktel.com>
date Sat, 19 May 2007 07:53:30 +0000
parents 2ea3c46a63fe 7ade887fd3f6
children cd2a9f9ca378 3e437e86bd6e
comparison
equal deleted inserted replaced
17142:9fd39a035729 17143:2e4e3c3028ae
1235 gboolean foundpidf = FALSE; 1235 gboolean foundpidf = FALSE;
1236 gboolean foundxpidf = FALSE; 1236 gboolean foundxpidf = FALSE;
1237 while(tmp && tmp < acceptheader + strlen(acceptheader)) { 1237 while(tmp && tmp < acceptheader + strlen(acceptheader)) {
1238 gchar *tmp2 = strchr(tmp, ','); 1238 gchar *tmp2 = strchr(tmp, ',');
1239 if(tmp2) *tmp2 = '\0'; 1239 if(tmp2) *tmp2 = '\0';
1240 if(!strcasecmp("application/pidf+xml", tmp)) 1240 if(!g_ascii_strcasecmp("application/pidf+xml", tmp))
1241 foundpidf = TRUE; 1241 foundpidf = TRUE;
1242 if(!strcasecmp("application/xpidf+xml", tmp)) 1242 if(!g_ascii_strcasecmp("application/xpidf+xml", tmp))
1243 foundxpidf = TRUE; 1243 foundxpidf = TRUE;
1244 if(tmp2) { 1244 if(tmp2) {
1245 *tmp2 = ','; 1245 *tmp2 = ',';
1246 tmp = tmp2; 1246 tmp = tmp2;
1247 while(*tmp == ' ') tmp++; 1247 while(*tmp == ' ') tmp++;