Changeset 1078


Ignore:
Timestamp:
Mar 18, 2007 9:25:54 AM (18 years ago)
Author:
bennylp
Message:

Fixed gcc compilation warnings with last modification for ticket #186

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjsip/src/pjsip/sip_util.c

    r1077 r1078  
    640640    first_route_hdr = pjsip_msg_find_hdr(tdata->msg, PJSIP_H_ROUTE, NULL); 
    641641    if (first_route_hdr) { 
    642         target_uri = (const pjsip_uri*)&first_route_hdr->name_addr; 
     642        target_uri = first_route_hdr->name_addr.uri; 
    643643    } else { 
    644644        target_uri = tdata->msg->line.req.uri; 
Note: See TracChangeset for help on using the changeset viewer.