Changeset 3331
- Timestamp:
- Oct 1, 2010 4:09:08 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-simple/evsub.c
r3068 r3331 997 997 pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*) 998 998 pjsip_hdr_shallow_clone(tdata->pool, sub->expires)); 999 1000 /* Add Supported header (it's optional in RFC 3265, but some event package 1001 * RFC may bring this requirement to SHOULD strength - e.g. RFC 5373) 1002 */ 1003 { 1004 const pjsip_hdr *hdr = pjsip_endpt_get_capability(sub->endpt, 1005 PJSIP_H_SUPPORTED, 1006 NULL); 1007 if (hdr) { 1008 pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) 1009 pjsip_hdr_shallow_clone(tdata->pool, hdr)); 1010 } 1011 } 999 1012 1000 1013 /* Add Accept header: */
Note: See TracChangeset
for help on using the changeset viewer.