changeset 20555:cfc4d2e23c76

It's presumably better not to try to connect right after calling purple_connection_error(). (Yes, I know this code is ifdef'd out.)
author Will Thompson <will.thompson@collabora.co.uk>
date Wed, 19 Sep 2007 17:53:52 +0000
parents 11d09a5f7b46
children 7fc7edb4dcd0
files libpurple/protocols/myspace/myspace.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c	Wed Sep 19 12:12:10 2007 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Wed Sep 19 17:53:52 2007 +0000
@@ -292,8 +292,8 @@
 		purple_notify_error(acct, g_strdup(_("MySpaceIM Error")), str, NULL);
 
 		purple_connection_error(gc, str);
-		
 		g_free(str);
+		return;
 	}
 #endif