changeset 2044:cad4405a0a45

[gaim-migrate @ 2054] should be removing input watcher only after all possible signoffs occur, otherwise may get report that we're removing it twice committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 16 Jun 2001 20:10:32 +0000
parents 1b8f4b90bf09
children 087ae7b0766f
files src/oscar.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/oscar.c	Sat Jun 16 20:00:17 2001 +0000
+++ b/src/oscar.c	Sat Jun 16 20:10:32 2001 +0000
@@ -658,7 +658,6 @@
 		debug_printf("Latest WinAIM released version %s, build %d, at %s (%s)\n",
 				latestrelease, latestbuild, latestreleaseurl, latestreleaseinfo);
 	debug_printf("Closing auth connection...\n");
-	gdk_input_remove(gc->inpa);
 	aim_conn_kill(sess, &command->conn);
 
 	bosconn = aim_newconn(sess, AIM_CONN_TYPE_BOS, NULL);
@@ -711,6 +710,7 @@
 		return -1;
 	}
 	aim_auth_sendcookie(sess, bosconn, cookie);
+	gdk_input_remove(gc->inpa);
 	return 1;
 }