Changeset 5694


Ignore:
Timestamp:
Nov 14, 2017 11:08:11 AM (7 years ago)
Author:
riza
Message:

Fixed #2064: Fix return code in pjsip_find_msg().

File:
1 edited

Legend:

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

    r5682 r5694  
    835835{ 
    836836#if PJ_HAS_TCP 
    837     const char *hdr_end; 
    838     const char *body_start; 
     837    const char *volatile hdr_end; 
     838    const char *volatile body_start; 
    839839    const char *pos; 
    840     const char *line; 
     840    const char *volatile line; 
    841841    int content_length = -1; 
    842842    pj_str_t cur_msg; 
    843     pj_status_t status = PJ_SUCCESS; 
     843    pj_status_t status = PJSIP_EMISSINGHDR; 
    844844    const pj_str_t end_hdr = { "\n\r\n", 3}; 
    845845 
Note: See TracChangeset for help on using the changeset viewer.