[sr-dev] git:master:75a034d0: xhttp: updates for new signature of via_builder()

Daniel-Constantin Mierla miconda at gmail.com
Thu Oct 4 16:52:40 CEST 2018


Module: kamailio
Branch: master
Commit: 75a034d032d01e62cceff77baed9285ffcc27ee2
URL: https://github.com/kamailio/kamailio/commit/75a034d032d01e62cceff77baed9285ffcc27ee2

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-10-04T16:47:25+02:00

xhttp: updates for new signature of via_builder()

---

Modified: src/modules/xhttp/xhttp_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/75a034d032d01e62cceff77baed9285ffcc27ee2.diff
Patch: https://github.com/kamailio/kamailio/commit/75a034d032d01e62cceff77baed9285ffcc27ee2.patch

---

diff --git a/src/modules/xhttp/xhttp_mod.c b/src/modules/xhttp/xhttp_mod.c
index 24338bd53f..7ccddba1ab 100644
--- a/src/modules/xhttp/xhttp_mod.c
+++ b/src/modules/xhttp/xhttp_mod.c
@@ -210,7 +210,7 @@ static char* xhttp_to_sip(sip_msg_t* msg, int* new_msg_len)
 	hp.host = &ip;
 	hp.port = &port;
 	init_dst_from_rcv(&dst, &msg->rcv);
-	via = via_builder(&via_len, &dst, 0, 0, &hp);
+	via = via_builder(&via_len, NULL, &dst, 0, 0, &hp);
 	if (via == 0)
 	{
 		LM_DBG("failed to build via\n");




More information about the sr-dev mailing list