Changeset 938


Ignore:
Timestamp:
Feb 10, 2007 6:56:52 PM (13 years ago)
Author:
bennylp
Message:

Fixed ticket #97: bug with URI/name-addr copying in strict route handling routine

File:
1 edited

Legend:

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

    r879 r938  
    737737    if (new_request_uri && new_request_uri!=tdata->msg->line.req.uri) { 
    738738        pjsip_route_hdr *route = pjsip_route_hdr_create(tdata->pool); 
    739         route->name_addr.uri = tdata->msg->line.req.uri; 
     739        route->name_addr.uri = pjsip_uri_get_uri(tdata->msg->line.req.uri); 
    740740        if (last_route_hdr) 
    741741            pj_list_insert_after(last_route_hdr, route); 
Note: See TracChangeset for help on using the changeset viewer.