Mercurial > pidgin.yaz
diff src/prpl.c @ 5151:ab2ae9dc9370
[gaim-migrate @ 5515]
This fixes a crash using zephyr + any other account, and a crash keeping
convo windows open after an account has disconnected, and a few other crashes,
and a crash in some code Chip hasn't written yet ;-)
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 17 Apr 2003 23:42:47 +0000 |
parents | 8e55a4d362a3 |
children | 48f662de029b |
line wrap: on
line diff
--- a/src/prpl.c Thu Apr 17 23:40:37 2003 +0000 +++ b/src/prpl.c Thu Apr 17 23:42:47 2003 +0000 @@ -853,7 +853,7 @@ #ifdef GAIM_PLUGINS if(p->plug) { /* This protocol is a plugin */ prpl_accounts[p->protocol]++; - debug_printf("Protocol %s now in use by %d connections.\n", p->name, prpl_accounts[p->protocol]); + debug_printf("Protocol %s refcount now %d\n", p->name, prpl_accounts[p->protocol]); if(!p->plug->handle) { /*But the protocol isn't yet loaded */ unload_protocol(p); if (load_prpl(p)) @@ -868,7 +868,7 @@ #ifdef GAIM_PLUGINS if(p->plug) { /* This protocol is a plugin */ prpl_accounts[p->protocol]--; - debug_printf("Protocol %s now in use by %d connections.\n", p->name, prpl_accounts[p->protocol]); + debug_printf("Protocol %s refcount now %d\n", p->name, prpl_accounts[p->protocol]); if(prpl_accounts[p->protocol] == 0) { /* No longer needed */ debug_printf("Throwing out %s protocol plugin\n", p->name); do_ask_cancel_by_handle(p->plug->handle);