changeset 20310:311000f10bb0

applied changes from 02a88f67c2a77e3dc2ec3868ea0c68192193c33f through 614efd22968bb59c279872f991d97f3053ded4f0
author Luke Schierer <lschiere@pidgin.im>
date Fri, 19 Oct 2007 17:11:34 +0000
parents d256249b22ea
children 66b73b0def79 6531c165dc94
files libpurple/protocols/msn/session.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/session.c	Fri Oct 19 17:10:50 2007 +0000
+++ b/libpurple/protocols/msn/session.c	Fri Oct 19 17:11:34 2007 +0000
@@ -121,7 +121,9 @@
 msn_session_disconnect(MsnSession *session)
 {
 	g_return_if_fail(session != NULL);
-	g_return_if_fail(session->connected);
+
+	if (!session->connected)
+		return;
 
 	session->connected = FALSE;