changeset 14022:4e6255026eb0

[gaim-migrate @ 16619] Revert SVN revision #16537, which should fix bug #1527828 committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 02 Aug 2006 16:47:55 +0000
parents ef8490f9e823
children 07d645986c79
files src/protocols/msn/servconn.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/servconn.c	Wed Aug 02 15:35:36 2006 +0000
+++ b/src/protocols/msn/servconn.c	Wed Aug 02 16:47:55 2006 +0000
@@ -125,8 +125,6 @@
 	const char *names[] = { "Notification", "Switchboard" };
 	const char *name;
 
-	msn_servconn_disconnect(servconn);
-
 	name = names[servconn->type];
 
 	switch (error)
@@ -158,6 +156,8 @@
 			swboard->error = MSN_SB_ERROR_CONNECTION;
 	}
 
+	msn_servconn_disconnect(servconn);
+
 	g_free(tmp);
 }