diff src/multi.c @ 3570:b791019b2492

[gaim-migrate @ 3666] You win, McQueen. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 29 Sep 2002 04:48:40 +0000
parents cf00549c53d7
children bdd0bebd2d04
line wrap: on
line diff
--- a/src/multi.c	Sun Sep 29 04:26:50 2002 +0000
+++ b/src/multi.c	Sun Sep 29 04:48:40 2002 +0000
@@ -1132,7 +1132,6 @@
 		gtk_widget_hide(mainwindow);
 
 	show_buddy_list();
-	refresh_buddy_window();
 
 	update_privacy_connections();
 	do_away_menu();
@@ -1141,8 +1140,11 @@
 	gaim_setup(gc);
 
 	gc->user->connecting = FALSE;
-	connecting_count--;
-		
+	if (connecting_count) {
+		connecting_count--;
+	}
+	debug_printf("connecting_count: %d\n", connecting_count);
+
 	plugin_event(event_signon, gc);
 	system_log(log_signon, gc, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON);
 
@@ -1439,8 +1441,11 @@
 	   this user was ever on-line or not */
 	if (gc->user->connecting) {
 		gc->user->connecting = FALSE;
-		connecting_count--;
+		if (connecting_count) {
+			connecting_count--;
+		}
 	}
+	debug_printf("connecting_count: %d\n", connecting_count);
 	serv_close(gc);
 
 	/* more UI stuff */