Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/soap.c @ 20404:455c5700c866
Really the last of the merge changes.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 15 Apr 2007 05:39:09 +0000 |
parents | 4ddc27c18781 |
children | 4c5d68e93ef8 |
comparison
equal
deleted
inserted
replaced
20403:599b5a4aebab | 20404:455c5700c866 |
---|---|
325 } | 325 } |
326 } | 326 } |
327 | 327 |
328 msn_session_set_error(session, MSN_ERROR_SERV_UNAVAILABLE, error); | 328 msn_session_set_error(session, MSN_ERROR_SERV_UNAVAILABLE, error); |
329 } | 329 } |
330 else if (strstr(soapconn->read_buf, "HTTP/1.1 503 Service Unavailable")) | |
331 { | |
332 msn_session_set_error(session, MSN_ERROR_SERV_UNAVAILABLE, NULL); | |
333 } | |
330 else if ((strstr(soapconn->read_buf, "HTTP/1.1 200 OK")) | 334 else if ((strstr(soapconn->read_buf, "HTTP/1.1 200 OK")) |
331 ||(strstr(soapconn->read_buf, "HTTP/1.1 500"))) | 335 ||(strstr(soapconn->read_buf, "HTTP/1.1 500"))) |
332 { | 336 { |
333 /*OK! process the SOAP body*/ | 337 /*OK! process the SOAP body*/ |
334 body_start = (char *)g_strstr_len(soapconn->read_buf, soapconn->read_len,"\r\n\r\n"); | 338 body_start = (char *)g_strstr_len(soapconn->read_buf, soapconn->read_len,"\r\n\r\n"); |