changeset 1166:d8324d695678

[gaim-migrate @ 1176] i hope this fixes something committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 28 Nov 2000 23:08:53 +0000
parents 3daec853f3c6
children 5d1ded9f88b7
files src/buddy.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Tue Nov 28 18:22:17 2000 +0000
+++ b/src/buddy.c	Tue Nov 28 23:08:53 2000 +0000
@@ -1717,6 +1717,7 @@
 	char *sotime, *itime;
 
 	time(&t);
+	if (!bs->connlist) return;
 	b = find_buddy(bs->connlist->data, bs->name);
 	if (!b) return;
 	ihrs = (t - b->idle) / 3600; imin = ((t - b->idle) / 60) % 60;