comparison libpurple/protocols/msn/nexus.c @ 16078:783b05e528b0

MSN nexus servers seem to have started reporting HTTP 503 Service Unavailable errors recently and we were not handling that well. Hopefully this fixes it.
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 12 Apr 2007 17:03:40 +0000
parents 32c366eeeb99
children 6b4e778ee4b4 60bc06498746
comparison
equal deleted inserted replaced
16077:ce85859d2f41 16078:783b05e528b0
250 } 250 }
251 } 251 }
252 252
253 msn_session_set_error(session, MSN_ERROR_AUTH, error); 253 msn_session_set_error(session, MSN_ERROR_AUTH, error);
254 } 254 }
255 else if (strstr(nexus->read_buf, "HTTP/1.1 503 Service Unavailable"))
256 {
257 msn_session_set_error(session, MSN_ERROR_SERV_UNAVAILABLE, NULL);
258 }
255 else if (strstr(nexus->read_buf, "HTTP/1.1 200 OK")) 259 else if (strstr(nexus->read_buf, "HTTP/1.1 200 OK"))
256 { 260 {
257 char *base, *c; 261 char *base, *c;
258 char *login_params; 262 char *login_params;
259 263