Changeset 2860
- Timestamp:
- Aug 11, 2009 6:10:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_dialog.c
r2855 r2860 215 215 pj_strdup_with_null(dlg->pool, &tmp, 216 216 local_contact ? local_contact : local_uri); 217 dlg->local.contact = pjsip_parse_hdr(dlg->pool, &HCONTACT, tmp.ptr, 217 dlg->local.contact = (pjsip_contact_hdr*) 218 pjsip_parse_hdr(dlg->pool, &HCONTACT, tmp.ptr, 218 219 tmp.slen, NULL); 219 220 if (!dlg->local.contact) { … … 393 394 394 395 pj_strdup_with_null(dlg->pool, &tmp, contact); 395 dlg->local.contact = pjsip_parse_hdr(dlg->pool, &HCONTACT, tmp.ptr, 396 dlg->local.contact = (pjsip_contact_hdr*) 397 pjsip_parse_hdr(dlg->pool, &HCONTACT, tmp.ptr, 396 398 tmp.slen, NULL); 397 399 if (!dlg->local.contact) {
Note: See TracChangeset
for help on using the changeset viewer.