changeset 1033:099748ff3a0a

[gaim-migrate @ 1043] i'm stupid, and, i'm stupid committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 31 Oct 2000 07:06:37 +0000
parents 643a4d81c18a
children 1d43fda97960
files src/aim.c src/buddy.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/aim.c	Tue Oct 31 06:09:47 2000 +0000
+++ b/src/aim.c	Tue Oct 31 07:06:37 2000 +0000
@@ -437,6 +437,7 @@
 int main(int argc, char *argv[])
 {
 	char opt;
+	int i;
 	int opt_acct = 0, opt_help = 0, opt_version = 0,
 	    opt_user = 0, opt_login = 0, do_login_ret = -1;
 	char *opt_user_arg = NULL, *opt_login_arg = NULL;
--- a/src/buddy.c	Tue Oct 31 06:09:47 2000 +0000
+++ b/src/buddy.c	Tue Oct 31 07:06:37 2000 +0000
@@ -1424,6 +1424,8 @@
 		play_sound(BUDDY_LEAVE);
 		gs = find_group_show(g->name);
 		bs = find_buddy_show(gs, b->name);
+		if (!bs)
+			return;
 		bs->connlist = g_slist_remove(bs->connlist, gc);
 		if (bs->log_timer > 0)
 			gtk_timeout_remove(bs->log_timer);