Module: sip-router
Branch: tmp/build_local
Commit: 6be3dfe5d0ae5f05fd5acb2e1b8858fa658044ed
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6be3dfe5d0ae5f05fd5acb2e1b8858fa658044ed

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date:   Tue Jul 21 13:49:36 2009 +0200

core: init via_len to cope with no via update flag

---

 msg_translator.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/msg_translator.c b/msg_translator.c
index 41878e3..2f14505 100644
--- a/msg_translator.c
+++ b/msg_translator.c
@@ -1551,6 +1551,7 @@ char * build_req_buf_from_sip_req( struct sip_msg* msg,
        received_buf=0;
        rport_buf=0;
        line_buf=0;
+       via_len=0;
 
        flags=msg->msg_flags|global_req_flags;
        /* Calculate message body difference and adjust Content-Length */


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to