Ignore:
Timestamp:
Jul 9, 2006 10:11:43 AM (18 years ago)
Author:
bennylp
Message:

Fix minor bug in displaying invalid message (previously the whole TCP packet was printed while it should only print the message chunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport.c

    r582 r596  
    955955        rdata->msg_info.msg = msg =  
    956956            pjsip_parse_rdata( current_pkt, msg_fragment_size, rdata); 
    957         if (msg == NULL) { 
    958             mgr->on_rx_msg(mgr->endpt, PJSIP_EINVALIDMSG, rdata); 
    959             goto finish_process_fragment; 
    960         } 
    961957 
    962958        /* Check for parsing syntax error */ 
    963         if (!pj_list_empty(&rdata->msg_info.parse_err)) { 
     959        if (msg==NULL || !pj_list_empty(&rdata->msg_info.parse_err)) { 
    964960            pjsip_parser_err_report *err; 
    965961            char buf[128]; 
Note: See TracChangeset for help on using the changeset viewer.