Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 10271:361c9170d8af
[gaim-migrate @ 11420]
This is a better way to do the aim logout thing. I don't know why
I did it the other way. That's a lie, I know why. It's because
I'm dumb.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 27 Nov 2004 16:09:31 +0000 |
parents | 9cafe038c95e |
children | fcadde998ba9 |
comparison
equal
deleted
inserted
replaced
10270:e5451763f5b9 | 10271:361c9170d8af |
---|---|
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(od->sess, dim->conn); | 883 aim_conn_close(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(sess, listenerconn); | 1103 aim_conn_close(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", |