changeset 1050:c4baa5509558

[gaim-migrate @ 1060] stupid keepalives committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 02 Nov 2000 00:25:58 +0000
parents 749e25dc90cb
children 713b0e14e0a9
files src/server.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/server.c	Wed Nov 01 23:44:30 2000 +0000
+++ b/src/server.c	Thu Nov 02 00:25:58 2000 +0000
@@ -61,6 +61,10 @@
 		gtk_timeout_remove(gc->idle_timer);
         gc->idle_timer = -1;
 
+	if (gc->keepalive > 0)
+		gtk_timeout_remove(gc->keepalive);
+	gc->keepalive = -1;
+
 	if (gc->prpl && gc->prpl->close)
 		(*gc->prpl->close)(gc);