Module: kamailio
Branch: master
Commit: d9b1f42718c0ffcaa5c5338b231d5be77e347be0
URL:
https://github.com/kamailio/kamailio/commit/d9b1f42718c0ffcaa5c5338b231d5be…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-10-04T16:46:38+02:00
xmlrpc: updates for new signature of via_builder()
---
Modified: src/modules/xmlrpc/http.c
Modified: src/modules/xmlrpc/xmlrpc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d9b1f42718c0ffcaa5c5338b231d5be…
Patch:
https://github.com/kamailio/kamailio/commit/d9b1f42718c0ffcaa5c5338b231d5be…
---
diff --git a/src/modules/xmlrpc/http.c b/src/modules/xmlrpc/http.c
index fb807ca0a8..04e1cd06eb 100644
--- a/src/modules/xmlrpc/http.c
+++ b/src/modules/xmlrpc/http.c
@@ -172,7 +172,7 @@ int create_via(sip_msg_t* msg, char* s1, char* s2)
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) {
ERR("Unable to build Via header field\n");
return -1;
diff --git a/src/modules/xmlrpc/xmlrpc.c b/src/modules/xmlrpc/xmlrpc.c
index a129dd68c0..4985639134 100644
--- a/src/modules/xmlrpc/xmlrpc.c
+++ b/src/modules/xmlrpc/xmlrpc.c
@@ -2240,7 +2240,7 @@ static char* http_xmlrpc2sip(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) {
DEBUG("failed to build via\n");
return 0;