Ignore:
Timestamp:
Jun 6, 2006 5:04:30 PM (17 years ago)
Author:
bennylp
Message:

More information in error reporting on parsing error

File:
1 edited

Legend:

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

    r448 r491  
    863863            pj_memcpy(via->branch_param.ptr, PJSIP_RFC3261_BRANCH_ID, 
    864864                      PJSIP_RFC3261_BRANCH_LEN); 
    865             tmp.ptr = via->branch_param.ptr + PJSIP_RFC3261_BRANCH_LEN; 
     865            tmp.ptr = via->branch_param.ptr + PJSIP_RFC3261_BRANCH_LEN + 2; 
     866            *(tmp.ptr-2) = 80; *(tmp.ptr-1) = 106; 
    866867            pj_generate_unique_string(&tmp); 
    867868        } 
Note: See TracChangeset for help on using the changeset viewer.