[asterisk-commits] kharwell: branch kharwell/pimp_my_sip r384595 - /team/kharwell/pimp_my_sip/res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 2 15:51:43 CDT 2013
Author: kharwell
Date: Tue Apr 2 15:51:40 2013
New Revision: 384595
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=384595
Log:
removed some commented out code
Modified:
team/kharwell/pimp_my_sip/res/res_sip_messaging.c
Modified: team/kharwell/pimp_my_sip/res/res_sip_messaging.c
URL: http://svnview.digium.com/svn/asterisk/team/kharwell/pimp_my_sip/res/res_sip_messaging.c?view=diff&rev=384595&r1=384594&r2=384595
==============================================================================
--- team/kharwell/pimp_my_sip/res/res_sip_messaging.c (original)
+++ team/kharwell/pimp_my_sip/res/res_sip_messaging.c Tue Apr 2 15:51:40 2013
@@ -289,29 +289,6 @@
return PJSIP_SC_OK;
}
-/* static void copy_headers_pjsip(pjsip_tx_data *tdata, const pjsip_msg *msg) */
-/* { */
-/* const pjsip_hdr *h = msg->hdr.next, *end=&msg->hdr; */
-/* while (h != end) { */
-/* pjsip_hdr *new_hdr; */
-
-/* new_hdr = (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, h); */
-/* pjsip_msg_add_hdr(tdata->msg, new_hdr); */
-
-/* h = h->next; */
-/* } */
-
-/* /\* const pjsip_hdr *h = msg->hdr_list.next; *\/ */
-/* /\* while (h && h != &msg->hdr_list) { *\/ */
-/* /\* pjsip_hdr *new_hdr; *\/ */
-
-/* /\* new_hdr = (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, h); *\/ */
-/* /\* pjsip_msg_add_hdr(tdata->msg, new_hdr); *\/ */
-
-/* /\* h = h->next; *\/ */
-/* /\* } *\/ */
-/* } */
-
struct msg_data {
struct ast_msg *msg;
char *to;
More information about the asterisk-commits
mailing list