Module: kamailio
Branch: 5.7
Commit: 859888876418605abdffcc57bea8b5988860476d
URL: 
https://github.com/kamailio/kamailio/commit/859888876418605abdffcc57bea8b5988860476d

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2024-09-19T08:56:09+02:00

tm: remove extra + used before MAXFWD_HEADER_LEN

(cherry picked from commit 307d6db88c218ffd5dc9d6e7de6425ac4ef24748)
(cherry picked from commit 672c3e75c4679681c1ddfb42f852682d93e42c31)

---

Modified: src/modules/tm/t_msgbuilder.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/859888876418605abdffcc57bea8b5988860476d.diff
Patch: 
https://github.com/kamailio/kamailio/commit/859888876418605abdffcc57bea8b5988860476d.patch

---

diff --git a/src/modules/tm/t_msgbuilder.c b/src/modules/tm/t_msgbuilder.c
index 6ff3d8d61d5..5f0f9575f4d 100644
--- a/src/modules/tm/t_msgbuilder.c
+++ b/src/modules/tm/t_msgbuilder.c
@@ -1246,7 +1246,7 @@ char *build_dlg_ack(struct sip_msg *rpl, struct cell 
*Trans,
 
        /* headers */
        *len += Trans->from_hdr.len + Trans->callid_hdr.len + to->len
-                       + Trans->cseq_hdr_n.len + 1 + ACK_LEN + 
+MAXFWD_HEADER_LEN
+                       + Trans->cseq_hdr_n.len + 1 + ACK_LEN + 
MAXFWD_HEADER_LEN
                        + CRLF_LEN;
 
        /* copy'n'paste Route headers */

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to