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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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");


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to