diff src/protocols/oscar/popups.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 07283934dedd
children
line wrap: on
line diff
--- a/src/protocols/oscar/popups.c	Sun Oct 05 22:41:29 2003 +0000
+++ b/src/protocols/oscar/popups.c	Sun Oct 05 23:50:40 2003 +0000
@@ -22,18 +22,18 @@
 	char *msg, *url;
 	fu16_t width, height, delay;
 
-	tl = aim_readtlvchain(bs);
+	tl = aim_tlvlist_read(bs);
 
-	msg = aim_gettlv_str(tl, 0x0001, 1);
-	url = aim_gettlv_str(tl, 0x0002, 1);
-	width = aim_gettlv16(tl, 0x0003, 1);
-	height = aim_gettlv16(tl, 0x0004, 1);
-	delay = aim_gettlv16(tl, 0x0005, 1);
+	msg = aim_tlv_getstr(tl, 0x0001, 1);
+	url = aim_tlv_getstr(tl, 0x0002, 1);
+	width = aim_tlv_get16(tl, 0x0003, 1);
+	height = aim_tlv_get16(tl, 0x0004, 1);
+	delay = aim_tlv_get16(tl, 0x0005, 1);
 
 	if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype)))
 		ret = userfunc(sess, rx, msg, url, width, height, delay);
 
-	aim_freetlvchain(&tl);
+	aim_tlvlist_free(&tl);
 	free(msg);
 	free(url);