im.pidgin.pidgin.2.2.2: 523905060b8ebeba354f624c6b7aeb549c597feb

lschiere at pidgin.im lschiere at pidgin.im
Fri Oct 19 17:11:41 EDT 2007


-----------------------------------------------------------------
Revision: 523905060b8ebeba354f624c6b7aeb549c597feb
Ancestor: d32cf054e6e10e37f74993912212ee795bd854e0
Author: lschiere at pidgin.im
Date: 2007-10-19T17:11:34
Branch: im.pidgin.pidgin.2.2.2

Modified files:
        libpurple/protocols/msn/session.c

ChangeLog: 

applied changes from 02a88f67c2a77e3dc2ec3868ea0c68192193c33f
             through 614efd22968bb59c279872f991d97f3053ded4f0

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/session.c	c00810400b189db9e2a3ffa25f1f430d41561bd1
+++ libpurple/protocols/msn/session.c	196d58042626b9ea1663a5ac9ece44f0c35d2e40
@@ -121,8 +121,10 @@ msn_session_disconnect(MsnSession *sessi
 msn_session_disconnect(MsnSession *session)
 {
 	g_return_if_fail(session != NULL);
-	g_return_if_fail(session->connected);
 
+	if (!session->connected)
+		return;
+
 	session->connected = FALSE;
 
 	while (session->switches != NULL)


More information about the Commits mailing list