comparison src/connection.c @ 6113:30d4c432101c

[gaim-migrate @ 6575] Fix a memleak in the status code (a temporary g_hash_table was not getting freed) Make the auto-reconnect plugin fully multi-protocol aware. Previously, if it was waiting to sign on more than one account, and you unload the plugin, it would continue to attempt to sign on all but one of the accounts. Set wants_to_die to TRUE if Buddies->Signoff was chosen. Get rid of some unneeded oscar debugging lines for faceprint :-) Make oscar not attempt to signon again if you were disconnected because you signed on from another location. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 13 Jul 2003 20:36:53 +0000
parents 77dcc775f97b
children e391813214a6
comparison
equal deleted inserted replaced
6112:a22c151463e1 6113:30d4c432101c
405 405
406 void 406 void
407 gaim_connections_disconnect_all(void) 407 gaim_connections_disconnect_all(void)
408 { 408 {
409 GList *l; 409 GList *l;
410 410 GaimConnection *gc;
411 while ((l = gaim_connections_get_all()) != NULL) 411
412 gaim_connection_destroy(l->data); 412 while ((l = gaim_connections_get_all()) != NULL) {
413 gc = l->data;
414 gc->wants_to_die = TRUE;
415 gaim_connection_destroy(gc);
416 }
413 } 417 }
414 418
415 GList * 419 GList *
416 gaim_connections_get_all(void) 420 gaim_connections_get_all(void)
417 { 421 {