Ignore:
Timestamp:
Nov 27, 2006 11:10:52 AM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #28: bug in Replaces header parsing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-ua/sip_replaces.c

    r797 r834  
    126126    const pj_str_t early_only_tag = { "early-only", 10 }; 
    127127 
    128     pj_scan_get(ctx->scanner, &pjsip_TOKEN_SPEC, &hdr->call_id); 
     128    /*pj_scan_get(ctx->scanner, &pjsip_TOKEN_SPEC, &hdr->call_id);*/ 
     129    /* Get Call-ID (until ';' is found). using pjsip_TOKEN_SPEC doesn't work 
     130     * because it stops parsing when '@' character is found. 
     131     */ 
     132    pj_scan_get_until_ch(ctx->scanner, ';', &hdr->call_id); 
    129133 
    130134    while (*ctx->scanner->curptr == ';') { 
Note: See TracChangeset for help on using the changeset viewer.