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/rxhandlers.c

    re374dee rcf02dd6  
    185185                return consumenonsnac(sess, fr, 0x0017, 0x0003);
    186186
    187         tlvlist = aim_readtlvchain(&fr->data);
    188 
    189         if (aim_gettlv(tlvlist, 0x0009, 1))
    190                 code = aim_gettlv16(tlvlist, 0x0009, 1);
    191 
    192         if (aim_gettlv(tlvlist, 0x000b, 1))
    193                 msg = aim_gettlv_str(tlvlist, 0x000b, 1);
     187        tlvlist = aim_tlvlist_read(&fr->data);
     188
     189        if (aim_tlv_gettlv(tlvlist, 0x0009, 1))
     190                code = aim_tlv_get16(tlvlist, 0x0009, 1);
     191
     192        if (aim_tlv_gettlv(tlvlist, 0x000b, 1))
     193                msg = aim_tlv_getstr(tlvlist, 0x000b, 1);
    194194
    195195        if ((userfunc = aim_callhandler(sess, fr->conn, AIM_CB_FAM_SPECIAL, AIM_CB_SPECIAL_CONNERR)))
    196196                ret = userfunc(sess, fr, code, msg);
    197197
    198         aim_freetlvchain(&tlvlist);
     198        aim_tlvlist_free(&tlvlist);
    199199
    200200        free(msg);
Note: See TracChangeset for help on using the changeset viewer.