changeset 20315:6531c165dc94

disapproval of revision '523905060b8ebeba354f624c6b7aeb549c597feb'
author Luke Schierer <lschiere@pidgin.im>
date Fri, 19 Oct 2007 17:28:11 +0000
parents 311000f10bb0
children 4f6afc4c79cb
files libpurple/protocols/msn/session.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/session.c	Fri Oct 19 17:11:34 2007 +0000
+++ b/libpurple/protocols/msn/session.c	Fri Oct 19 17:28:11 2007 +0000
@@ -121,9 +121,7 @@
 msn_session_disconnect(MsnSession *session)
 {
 	g_return_if_fail(session != NULL);
-
-	if (!session->connected)
-		return;
+	g_return_if_fail(session->connected);
 
 	session->connected = FALSE;