diff libpurple/protocols/jabber/jabber.c @ 29734:b00abe5ec15e

jabber: If binding fails, don't continue trying to initialize the session. Spotted in a debug log improperly posted to #11615.
author Paul Aurich <paul@darkrain42.org>
date Wed, 14 Apr 2010 21:06:00 +0000
parents 08957bb38e30
children 0f895633faeb
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Wed Apr 14 19:58:42 2010 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Wed Apr 14 21:06:00 2010 +0000
@@ -166,6 +166,8 @@
 		char *msg = jabber_parse_error(js, packet, &reason);
 		purple_connection_error_reason(js->gc, reason, msg);
 		g_free(msg);
+
+		return;
 	}
 
 	jabber_session_init(js);