im.pidgin.pidgin.2.2.2: 2af9cd4957f255e5640362a54527c26a829fa371

lschiere at pidgin.im lschiere at pidgin.im
Fri Oct 19 17:10:51 EDT 2007


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

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

ChangeLog: 

disapproval of revision '523905060b8ebeba354f624c6b7aeb549c597feb'
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/session.c	196d58042626b9ea1663a5ac9ece44f0c35d2e40
+++ libpurple/protocols/msn/session.c	c00810400b189db9e2a3ffa25f1f430d41561bd1
@@ -121,10 +121,8 @@ 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