Browse code

core: init via_len to cope with no via update flag

Daniel-Constantin Mierla authored on 21/07/2009 11:49:36
Showing 1 changed files
... ...
@@ -1551,6 +1551,7 @@ char * build_req_buf_from_sip_req( struct sip_msg* msg,
1551 1551
 	received_buf=0;
1552 1552
 	rport_buf=0;
1553 1553
 	line_buf=0;
1554
+	via_len=0;
1554 1555
 
1555 1556
 	flags=msg->msg_flags|global_req_flags;
1556 1557
 	/* Calculate message body difference and adjust Content-Length */