changeset 5503:38ae6c7b4387

[gaim-migrate @ 5902] I guess this is more correct. It doesn't actually change anything. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 24 May 2003 06:13:42 +0000
parents a6c08c86bf7f
children e1e6b2fda105
files src/protocols/oscar/ssi.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/ssi.c	Fri May 23 20:49:28 2003 +0000
+++ b/src/protocols/oscar/ssi.c	Sat May 24 06:13:42 2003 +0000
@@ -682,9 +682,9 @@
 	cur = sess->ssi.local;
 	while (cur) {
 		next = cur->next;
-		if (cur->type == AIM_SSI_TYPE_GROUP) {
+		if ((cur->type == AIM_SSI_TYPE_GROUP) && (cur->data)) {
 			aim_tlv_t *tlv = aim_gettlv(cur->data, 0x00c8, 1);
-			if (!cur->data || !tlv || !tlv->length)
+			if (!tlv || !tlv->length)
 				aim_ssi_itemlist_del(&sess->ssi.local, cur);
 		}
 		cur = next;