diff src/multi.c @ 3726:d85208a99af2

[gaim-migrate @ 3862] (12:18:46) Robot101: it switches the .desktop file to the new KDE/GNOME common vfolder format (12:18:48) Robot101: and location (12:19:01) Robot101: and it moves a function from util.c to aim.c and makes it static (12:19:08) Robot101: because it's only used by the main window and removes a function herman #ifdef 0'ed, and fixes a segfault in the docklet. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 17 Oct 2002 16:25:54 +0000
parents 988485669631
children a20bf3d247ff
line wrap: on
line diff
--- a/src/multi.c	Thu Oct 17 05:06:15 2002 +0000
+++ b/src/multi.c	Thu Oct 17 16:25:54 2002 +0000
@@ -1138,9 +1138,7 @@
 	gaim_setup(gc);
 
 	gc->user->connecting = FALSE;
-	if (connecting_count) {
-		connecting_count--;
-	}
+	connecting_count--;
 	debug_printf("connecting_count: %d\n", connecting_count);
 
 	plugin_event(event_signon, gc);
@@ -1439,9 +1437,7 @@
 	   this user was ever on-line or not */
 	if (gc->user->connecting) {
 		gc->user->connecting = FALSE;
-		if (connecting_count) {
-			connecting_count--;
-		}
+		connecting_count--;
 	}
 	debug_printf("connecting_count: %d\n", connecting_count);
 	serv_close(gc);