Changeset 939
- Timestamp:
- Feb 10, 2007 7:22:25 PM (18 years ago)
- Location:
- pjproject/trunk/pjsip/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_uri.c
r611 r939 204 204 static void *pjsip_name_addr_get_uri( pjsip_name_addr *name ) 205 205 { 206 return name->uri;206 return pjsip_uri_get_uri(name->uri); 207 207 } 208 208 … … 530 530 char *startbuf = buf; 531 531 char *endbuf = buf + size; 532 533 pj_assert(name->uri != NULL); 532 pjsip_uri *uri; 533 534 uri = pjsip_uri_get_uri(name->uri); 535 pj_assert(uri != NULL); 534 536 535 537 if (context != PJSIP_URI_IN_REQ_URI) { … … 544 546 } 545 547 546 printed = pjsip_uri_print(context, name->uri, buf, size-(buf-startbuf));548 printed = pjsip_uri_print(context,uri, buf, size-(buf-startbuf)); 547 549 if (printed < 1) 548 550 return -1; -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r892 r939 944 944 */ 945 945 if (!pj_list_empty(&acc->route_set)) { 946 sip_uri = (pjsip_sip_uri*) acc->route_set.next->name_addr.uri; 946 sip_uri = (pjsip_sip_uri*) 947 pjsip_uri_get_uri(acc->route_set.next->name_addr.uri); 947 948 } else { 948 949 pj_str_t tmp; … … 1035 1036 /* If Record-Route is present, then URI is the top Record-Route. */ 1036 1037 if (rdata->msg_info.record_route) { 1037 sip_uri = (pjsip_sip_uri*) rdata->msg_info.record_route->name_addr.uri; 1038 sip_uri = (pjsip_sip_uri*) 1039 pjsip_uri_get_uri(rdata->msg_info.record_route->name_addr.uri); 1038 1040 } else { 1039 1041 pjsip_contact_hdr *h_contact; -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r892 r939 186 186 pjsua_var.buddy[index].uri = tmp; 187 187 188 sip_uri = (pjsip_sip_uri*) url->uri;188 sip_uri = (pjsip_sip_uri*) pjsip_uri_get_uri(url->uri); 189 189 pjsua_var.buddy[index].name = sip_uri->user; 190 190 pjsua_var.buddy[index].display = url->display;
Note: See TracChangeset
for help on using the changeset viewer.