diff src/protocols/oscar/locate.c @ 7313:be7c1468c6a7

[gaim-migrate @ 7897] I thought I commited some of this a while ago... oh well. None of it is really important at all. I uncommented the available message stuff, it might work for some people (Sam), but doesn't work for me. I don't want to have to comment this out again before 0.72... so someone get this working (Sam). committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 22 Oct 2003 03:32:21 +0000
parents 0ed0ac132b1b
children 83e8faa7f6d5
line wrap: on
line diff
--- a/src/protocols/oscar/locate.c	Wed Oct 22 02:01:30 2003 +0000
+++ b/src/protocols/oscar/locate.c	Wed Oct 22 03:32:21 2003 +0000
@@ -948,7 +948,8 @@
 			aim_tlvlist_add_noval(&tl, 0x0004);
 	}
 
-	aim_tlvlist_add_caps(&tl, 0x0005, caps);
+	if (caps != 0x00000000)
+		aim_tlvlist_add_caps(&tl, 0x0005, caps);
 
 	if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + aim_tlvlist_size(&tl))))
 		return -ENOMEM;