changeset 809:12d0aaef70fb

[gaim-migrate @ 819] small changes. nothing big. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 31 Aug 2000 05:06:23 +0000
parents 9d61f3d01046
children c401b5a077c8
files src/oscar.c src/server.c
diffstat 2 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/oscar.c	Thu Aug 31 03:40:17 2000 +0000
+++ b/src/oscar.c	Thu Aug 31 05:06:23 2000 +0000
@@ -47,7 +47,6 @@
 static int inpa = -1;
 static int paspa = -1;
 static int cnpa = -1;
-static int keepalive = -1;
 struct aim_session_t *gaim_sess;
 struct aim_conn_t    *gaim_conn;
 int gaim_caps = AIM_CAPS_CHAT | AIM_CAPS_SENDFILE | AIM_CAPS_GETFILE |
@@ -230,9 +229,6 @@
 	if (inpa > 0)
 		gdk_input_remove(inpa);
 	inpa = -1;
-	if (keepalive > 0)
-		gtk_timeout_remove(keepalive);
-	keepalive = -1;
 	aim_logoff(gaim_sess);
 	g_free(gaim_sess);
 	debug_print(_("Signed off.\n"));
@@ -388,12 +384,6 @@
 	return 1;
 }
 
-static int oscar_keepalive(gpointer d) {
-	debug_print("oscar: sending nop (keepalive)\n");
-	aim_bos_nop(gaim_sess, gaim_conn);
-	return 1;
-}
-
 int gaim_handle_redirect(struct aim_session_t *sess,
 			 struct command_rx_struct *command, ...) {
 	va_list ap;
@@ -442,8 +432,6 @@
 		aim_bos_clientready(sess, command->conn);
 		debug_print("Roger that, all systems go\n");
 
-		keepalive = gtk_timeout_add(30000, (GtkFunction)oscar_keepalive, NULL);
-
 		aim_bos_reqservice(sess, command->conn, AIM_CONN_TYPE_CHATNAV);
 
 		break;
--- a/src/server.c	Thu Aug 31 03:40:17 2000 +0000
+++ b/src/server.c	Thu Aug 31 05:06:23 2000 +0000
@@ -561,7 +561,6 @@
 					b->name, count);
 		debug_print(debug_buff);
 
-//		aim_chat_leaveroom(gaim_sess, b->name);
 		c = find_oscar_chat(b->name);
 		if (c != NULL) {
 			oscar_chats = g_list_remove(oscar_chats, c);