Mercurial > pidgin
changeset 1090:79cdc86ef4c6
[gaim-migrate @ 1100]
necessary checks
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 13 Nov 2000 02:59:23 +0000 |
parents | f0f5c10cce63 |
children | 3d6ab4f1fa55 |
files | plugins/irc.c plugins/yay/yay.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/irc.c Mon Nov 13 02:58:00 2000 +0000 +++ b/plugins/irc.c Mon Nov 13 02:59:23 2000 +0000 @@ -830,6 +830,8 @@ while (gtk_events_pending()) gtk_main_iteration(); + if (!g_slist_find(connections, gc)) + return; host = gethostbyname(user->proto_opt[0]); if (!host) {
--- a/plugins/yay/yay.c Mon Nov 13 02:58:00 2000 +0000 +++ b/plugins/yay/yay.c Mon Nov 13 02:59:23 2000 +0000 @@ -210,6 +210,8 @@ set_login_progress(gc, 1, "Connecting"); while (gtk_events_pending()) gtk_main_iteration(); + if (!g_slist_find(connections, gc)) + return; if (!ctxt || !yahoo_connect(ctxt)) { debug_printf("Yahoo: Unable to connect\n"); @@ -223,6 +225,8 @@ set_login_progress(gc, 3, "Getting Config"); while (gtk_events_pending()) gtk_main_iteration(); + if (!g_slist_find(connections, gc)) + return; yahoo_get_config(ctxt);