diff src/protocols/oscar/icq.c @ 7167:6d3d8f11e765

[gaim-migrate @ 7734] I, uh, renamed some functions in libfaim. Functions that every file uses. A lot. So it looks like I did a lot of work, but I didn't. Yeah, in a typical work I actually only do about 15 minutes of real work. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 05 Oct 2003 23:50:40 +0000
parents bfe98c4d331e
children ad243bc63184
line wrap: on
line diff
--- a/src/protocols/oscar/icq.c	Sun Oct 05 22:41:29 2003 +0000
+++ b/src/protocols/oscar/icq.c	Sun Oct 05 23:50:40 2003 +0000
@@ -367,8 +367,8 @@
 	fu32_t ouruin;
 	fu16_t cmdlen, cmd, reqid;
 
-	if (!(tl = aim_readtlvchain(bs)) || !(datatlv = aim_gettlv(tl, 0x0001, 1))) {
-		aim_freetlvchain(&tl);
+	if (!(tl = aim_tlvlist_read(bs)) || !(datatlv = aim_tlv_gettlv(tl, 0x0001, 1))) {
+		aim_tlvlist_free(&tl);
 		faimdprintf(sess, 0, "corrupt ICQ response\n");
 		return 0;
 	}
@@ -548,7 +548,7 @@
 		}
 	}
 
-	aim_freetlvchain(&tl);
+	aim_tlvlist_free(&tl);
 
 	return ret;
 }