# HG changeset patch # User Mark Doliner # Date 1185524565 0 # Node ID 9f3c2c5d96b22b26d2e0a319ab48d1f865c3ccd2 # Parent ddb7212a8794c0f86e3278c64e4c6e6db5ff6488 This function wasn't used. I think it was intended for when Adam was implementing an oscar server using libfaim? diff -r ddb7212a8794 -r 9f3c2c5d96b2 libpurple/protocols/oscar/tlv.c --- a/libpurple/protocols/oscar/tlv.c Fri Jul 27 03:47:09 2007 +0000 +++ b/libpurple/protocols/oscar/tlv.c Fri Jul 27 08:22:45 2007 +0000 @@ -423,25 +423,6 @@ } /** - * Adds the given userinfo struct to a TLV chain. - * - * @param list Destination chain. - * @param type TLV type to add. - * @return The size of the value added. - */ -int aim_tlvlist_add_userinfo(GSList **list, guint16 type, aim_userinfo_t *userinfo) -{ - guint8 buf[1024]; /* TODO: Don't use a fixed length buffer */ - ByteStream bs; - - byte_stream_init(&bs, buf, sizeof(buf)); - - aim_putuserinfo(&bs, userinfo); - - return aim_tlvlist_add_raw(list, type, byte_stream_curpos(&bs), buf); -} - -/** * Adds the given chatroom info to a TLV chain. * * @param list Destination chain.