Module: kamailio
Branch: master
Commit: 1421bbc2102e0fbdf576f78349a3f280d8fd730a
URL: 
https://github.com/kamailio/kamailio/commit/1421bbc2102e0fbdf576f78349a3f280d8fd730a

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-01-07T16:04:26+01:00

core: forward - updates for the new function prototype to build request

---

Modified: src/core/forward.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/1421bbc2102e0fbdf576f78349a3f280d8fd730a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/1421bbc2102e0fbdf576f78349a3f280d8fd730a.patch

---

diff --git a/src/core/forward.c b/src/core/forward.c
index b54e364b765..16fa2050225 100644
--- a/src/core/forward.c
+++ b/src/core/forward.c
@@ -632,7 +632,8 @@ int forward_request_mode(struct sip_msg *msg, str *dst, 
unsigned short port,
                        if(buf)
                                pkg_free(buf);
                        send_info->proto = proto;
-                       buf = build_req_buf_from_sip_req(msg, &len, send_info, 
mbmode);
+                       buf = build_req_buf_from_sip_req(
+                                       msg, &len, send_info, mbmode, NULL);
                        if(!buf) {
                                LM_ERR("building failed\n");
                                ret = E_OUT_OF_MEM; /* most probable */

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to