Module: kamailio
Branch: master
Commit: 75a034d032d01e62cceff77baed9285ffcc27ee2
URL:
https://github.com/kamailio/kamailio/commit/75a034d032d01e62cceff77baed9285…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/75a034d032d01e62cceff77baed9285…
Patch:
https://github.com/kamailio/kamailio/commit/75a034d032d01e62cceff77baed9285…
---
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");