Ignore:
Timestamp:
May 15, 2008 10:07:36 AM (16 years ago)
Author:
bennylp
Message:

More ticket #533: fixed bug in Retry-After parser (thanks Samuel Vinson)

File:
1 edited

Legend:

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

    r1954 r1957  
    18351835 
    18361836    while (!pj_scan_is_eof(scanner) && *scanner->curptr!='\r' && 
    1837            *scanner->curptr=='\n') 
     1837           *scanner->curptr!='\n') 
    18381838    { 
    18391839        if (*scanner->curptr=='(') { 
    18401840            pj_scan_get_quote(scanner, '(', ')', &hdr->comment); 
     1841            /* Trim the leading and ending parens */ 
     1842            hdr->comment.ptr++; 
     1843            hdr->comment.slen -= 2; 
    18411844        } else if (*scanner->curptr==';') { 
    18421845            pjsip_param *prm = PJ_POOL_ALLOC_T(ctx->pool, pjsip_param); 
Note: See TracChangeset for help on using the changeset viewer.