libpurple/protocols/jabber/jabber.c

branch
soc.2013.gobjectification
changeset 34766
33722e7cda18
parent 34760
062535fbe1e9
child 34810
8a3d21b27a22
--- a/libpurple/protocols/jabber/jabber.c	Sat Jul 13 22:30:22 2013 +0530
+++ b/libpurple/protocols/jabber/jabber.c	Sat Jul 13 22:31:27 2013 +0530
@@ -1377,10 +1377,7 @@
 				g_free(href);
 
 				if(js->registration) {
-#warning Is this (gc->wants_to_die) required here? If so, an alternative needed.
-#if 0
-					js->gc->wants_to_die = TRUE;
-#endif
+					purple_connection_disable_reconnection(js->gc);
 					/* succeeded, but we have no login info */
 					purple_account_register_completed(account, TRUE);
 					jabber_connection_schedule_close(js);

mercurial