Changeset 5170 for pjproject/trunk/pjsip/src/pjsip-simple/publishc.c
- Timestamp:
- Aug 25, 2015 8:45:46 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-simple/publishc.c
r4530 r5170 435 435 /* Add user headers */ 436 436 if (!pj_list_empty(&pubc->usr_hdr)) { 437 const pjsip_hdr * hdr;438 439 hdr = pubc->usr_hdr.next;440 while ( hdr != &pubc->usr_hdr) {437 const pjsip_hdr *uhdr; 438 439 uhdr = pubc->usr_hdr.next; 440 while (uhdr != &pubc->usr_hdr) { 441 441 pjsip_hdr *new_hdr = (pjsip_hdr*) 442 pjsip_hdr_shallow_clone(tdata->pool, hdr);442 pjsip_hdr_shallow_clone(tdata->pool, uhdr); 443 443 pjsip_msg_add_hdr(tdata->msg, new_hdr); 444 hdr =hdr->next;444 uhdr = uhdr->next; 445 445 } 446 446 }
Note: See TracChangeset
for help on using the changeset viewer.