changeset 30146: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 a3b78a080a5b
children 54289a753667
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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);