comparison src/protocols/oscar/oscar.c @ 10267:9cafe038c95e

[gaim-migrate @ 11413] This is some white-space cleanup for oscar, and send an empty channel 4 FLAP when disconnecting. This would have hopefully fixed the problem Luke was seeing where his AIM account wasn't being signed offline for a few hours. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 26 Nov 2004 03:52:00 +0000
parents a66cf83552dc
children 361c9170d8af
comparison
equal deleted inserted replaced
10266:2a9ec10e0c4c 10267:9cafe038c95e
878 return; 878 return;
879 } 879 }
880 if (dim->watcher) 880 if (dim->watcher)
881 gaim_input_remove(dim->watcher); 881 gaim_input_remove(dim->watcher);
882 if (dim->conn) { 882 if (dim->conn) {
883 aim_conn_close(dim->conn); 883 aim_conn_close(od->sess, dim->conn);
884 aim_conn_kill(od->sess, &dim->conn); 884 aim_conn_kill(od->sess, &dim->conn);
885 } 885 }
886 g_free(dim); 886 g_free(dim);
887 } 887 }
888 888
1098 va_start(ap, fr); 1098 va_start(ap, fr);
1099 newconn = va_arg(ap, aim_conn_t *); 1099 newconn = va_arg(ap, aim_conn_t *);
1100 listenerconn = va_arg(ap, aim_conn_t *); 1100 listenerconn = va_arg(ap, aim_conn_t *);
1101 va_end(ap); 1101 va_end(ap);
1102 1102
1103 aim_conn_close(listenerconn); 1103 aim_conn_close(sess, listenerconn);
1104 aim_conn_kill(sess, &listenerconn); 1104 aim_conn_kill(sess, &listenerconn);
1105 1105
1106 sn = g_strdup(aim_odc_getsn(newconn)); 1106 sn = g_strdup(aim_odc_getsn(newconn));
1107 1107
1108 gaim_debug_info("oscar", 1108 gaim_debug_info("oscar",