Changeset cf02dd6 for libfaim/popups.c


Ignore:
Timestamp:
Dec 10, 2003, 3:20:45 PM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
b1fe407
Parents:
8c46404
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfaim/popups.c

    r862371b rcf02dd6  
    2323        fu16_t width, height, delay;
    2424
    25         tl = aim_readtlvchain(bs);
     25        tl = aim_tlvlist_read(bs);
    2626
    27         msg = aim_gettlv_str(tl, 0x0001, 1);
    28         url = aim_gettlv_str(tl, 0x0002, 1);
    29         width = aim_gettlv16(tl, 0x0003, 1);
    30         height = aim_gettlv16(tl, 0x0004, 1);
    31         delay = aim_gettlv16(tl, 0x0005, 1);
     27        msg = aim_tlv_getstr(tl, 0x0001, 1);
     28        url = aim_tlv_getstr(tl, 0x0002, 1);
     29        width = aim_tlv_get16(tl, 0x0003, 1);
     30        height = aim_tlv_get16(tl, 0x0004, 1);
     31        delay = aim_tlv_get16(tl, 0x0005, 1);
    3232
    3333        if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype)))
    3434                ret = userfunc(sess, rx, msg, url, width, height, delay);
    3535
    36         aim_freetlvchain(&tl);
     36        aim_tlvlist_free(&tl);
    3737        free(msg);
    3838        free(url);
Note: See TracChangeset for help on using the changeset viewer.