Changeset 714 for pjproject/trunk
- Timestamp:
- Sep 13, 2006 11:48:45 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-ua/sip_reg.c
r663 r714 372 372 /* Add Contact header. */ 373 373 msg = tdata->msg; 374 pjsip_msg_add_hdr(msg, (pjsip_hdr*) regc->contact_hdr); 374 pjsip_msg_add_hdr(msg, pjsip_hdr_shallow_clone(tdata->pool, 375 regc->contact_hdr)); 375 376 if (regc->expires_hdr) 376 pjsip_msg_add_hdr(msg, (pjsip_hdr*) regc->expires_hdr); 377 pjsip_msg_add_hdr(msg, pjsip_hdr_shallow_clone(tdata->pool, 378 regc->expires_hdr)); 377 379 378 380 if (regc->timer.id != 0) {
Note: See TracChangeset
for help on using the changeset viewer.