Mercurial > pidgin.yaz
diff src/protocols/oscar/odir.c @ 10991:1798ad0be460
[gaim-migrate @ 12829]
Rename aim_tlvlist_add_string to aim_tlvlist_add_str.
Yes, that's one of the functions I just added.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 09 Jun 2005 04:38:10 +0000 |
parents | ecc0f22db510 |
children |
line wrap: on
line diff
--- a/src/protocols/oscar/odir.c Thu Jun 09 04:33:52 2005 +0000 +++ b/src/protocols/oscar/odir.c Thu Jun 09 04:38:10 2005 +0000 @@ -30,9 +30,9 @@ return -EINVAL; /* Create a TLV chain, write it to the outgoing frame, then free the chain */ - aim_tlvlist_add_string(&tl, 0x001c, region); + aim_tlvlist_add_str(&tl, 0x001c, region); aim_tlvlist_add_16(&tl, 0x000a, 0x0001); /* Type of search */ - aim_tlvlist_add_string(&tl, 0x0005, email); + aim_tlvlist_add_str(&tl, 0x0005, email); if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+aim_tlvlist_size(&tl)))) return -ENOMEM; @@ -79,28 +79,28 @@ return -EINVAL; /* Create a TLV chain, write it to the outgoing frame, then free the chain */ - aim_tlvlist_add_string(&tl, 0x001c, region); + aim_tlvlist_add_str(&tl, 0x001c, region); aim_tlvlist_add_16(&tl, 0x000a, 0x0000); /* Type of search */ if (first) - aim_tlvlist_add_string(&tl, 0x0001, first); + aim_tlvlist_add_str(&tl, 0x0001, first); if (last) - aim_tlvlist_add_string(&tl, 0x0002, last); + aim_tlvlist_add_str(&tl, 0x0002, last); if (middle) - aim_tlvlist_add_string(&tl, 0x0003, middle); + aim_tlvlist_add_str(&tl, 0x0003, middle); if (maiden) - aim_tlvlist_add_string(&tl, 0x0004, maiden); + aim_tlvlist_add_str(&tl, 0x0004, maiden); if (country) - aim_tlvlist_add_string(&tl, 0x0006, country); + aim_tlvlist_add_str(&tl, 0x0006, country); if (state) - aim_tlvlist_add_string(&tl, 0x0007, state); + aim_tlvlist_add_str(&tl, 0x0007, state); if (city) - aim_tlvlist_add_string(&tl, 0x0008, city); + aim_tlvlist_add_str(&tl, 0x0008, city); if (nick) - aim_tlvlist_add_string(&tl, 0x000c, nick); + aim_tlvlist_add_str(&tl, 0x000c, nick); if (zip) - aim_tlvlist_add_string(&tl, 0x000d, zip); + aim_tlvlist_add_str(&tl, 0x000d, zip); if (address) - aim_tlvlist_add_string(&tl, 0x0021, address); + aim_tlvlist_add_str(&tl, 0x0021, address); if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+aim_tlvlist_size(&tl)))) return -ENOMEM; @@ -134,10 +134,10 @@ return -EINVAL; /* Create a TLV chain, write it to the outgoing frame, then free the chain */ - aim_tlvlist_add_string(&tl, 0x001c, region); + aim_tlvlist_add_str(&tl, 0x001c, region); aim_tlvlist_add_16(&tl, 0x000a, 0x0001); /* Type of search */ if (interest) - aim_tlvlist_add_string(&tl, 0x0001, interest); + aim_tlvlist_add_str(&tl, 0x0001, interest); if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+aim_tlvlist_size(&tl)))) return -ENOMEM;