diff 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
line wrap: on
line diff
--- a/libpurple/protocols/msn/soap.c	Sun Apr 15 05:28:07 2007 +0000
+++ b/libpurple/protocols/msn/soap.c	Sun Apr 15 05:39:09 2007 +0000
@@ -327,6 +327,10 @@
 
 		msn_session_set_error(session, MSN_ERROR_SERV_UNAVAILABLE, error);
 	}
+	else if (strstr(soapconn->read_buf, "HTTP/1.1 503 Service Unavailable"))
+	{
+		msn_session_set_error(session, MSN_ERROR_SERV_UNAVAILABLE, NULL);
+	}
 	else if ((strstr(soapconn->read_buf, "HTTP/1.1 200 OK"))
 		||(strstr(soapconn->read_buf, "HTTP/1.1 500")))
 	{