Changeset 499


Ignore:
Timestamp:
Jun 13, 2006 9:48:06 PM (18 years ago)
Author:
bennylp
Message:

Fixed bug in generating CANCEL request when the INVITE request contains Route headers

File:
1 edited

Legend:

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

    r491 r499  
    601601                          pjsip_hdr_clone(cancel_tdata->pool, hdr)); 
    602602        hdr = hdr->next; 
    603         if (hdr != &cancel_tdata->msg->hdr) 
    604             hdr = pjsip_msg_find_hdr(cancel_tdata->msg, PJSIP_H_ROUTE, hdr); 
     603        if (hdr != &req_tdata->msg->hdr) 
     604            hdr = pjsip_msg_find_hdr(req_tdata->msg, PJSIP_H_ROUTE, hdr); 
    605605        else 
    606606            break; 
Note: See TracChangeset for help on using the changeset viewer.