diff src/multi.c @ 1153:3063e6743913

[gaim-migrate @ 1163] handle the keepalives better. have ICQ force keepalives for connections, it's a bad hack but it's probably necessary for a UDP protocol. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 28 Nov 2000 04:12:06 +0000
parents a70d5200edde
children 4135d8fc7b4e
line wrap: on
line diff
--- a/src/multi.c	Tue Nov 28 02:22:42 2000 +0000
+++ b/src/multi.c	Tue Nov 28 04:12:06 2000 +0000
@@ -55,7 +55,8 @@
 	gc->prpl = find_prpl(user->protocol);
 	g_snprintf(gc->username, sizeof(gc->username), "%s", user->username);
 	g_snprintf(gc->password, sizeof(gc->password), "%s", user->password);
-	gc->keepalive = -1;
+	gc->options = user->options;
+	gc->keepalive = 0;
 	gc->inpa = -1;
 	gc->buddy_chats = NULL;
 	gc->groups = NULL;