# HG changeset patch # User Elliott Sales de Andrade # Date 1248832254 0 # Node ID a9594824b8a3a2484b3182248486a748ed40b752 # Parent 6d9dc2a2a7970336a532d2a503f7ffa3da63aa9c If the SOAP server returns a 503 AND we haven't yet authenticated, then treat the error as fatal. Otherwise, just continue parsing stuff as usual and send the error result to the callback. Fixes #9681. diff -r 6d9dc2a2a797 -r a9594824b8a3 libpurple/protocols/msn/soap.c --- a/libpurple/protocols/msn/soap.c Tue Jul 28 22:25:41 2009 +0000 +++ b/libpurple/protocols/msn/soap.c Wed Jul 29 01:50:54 2009 +0000 @@ -385,7 +385,7 @@ msn_soap_connection_handle_next(conn); handled = TRUE; break; - } else if (conn->response_code == 503) { + } else if (conn->response_code == 503 && conn->session->login_step < MSN_LOGIN_STEP_END) { msn_soap_connection_sanitize(conn, TRUE); msn_session_set_error(conn->session, MSN_ERROR_SERV_UNAVAILABLE, NULL); return;