Module: kamailio
Branch: 5.8
Commit: 672c3e75c4679681c1ddfb42f852682d93e42c31
URL:
https://github.com/kamailio/kamailio/commit/672c3e75c4679681c1ddfb42f852682…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-09-19T08:55:43+02:00
tm: remove extra + used before MAXFWD_HEADER_LEN
(cherry picked from commit 307d6db88c218ffd5dc9d6e7de6425ac4ef24748)
---
Modified: src/modules/tm/t_msgbuilder.c
---
Diff:
https://github.com/kamailio/kamailio/commit/672c3e75c4679681c1ddfb42f852682…
Patch:
https://github.com/kamailio/kamailio/commit/672c3e75c4679681c1ddfb42f852682…
---
diff --git a/src/modules/tm/t_msgbuilder.c b/src/modules/tm/t_msgbuilder.c
index 1aa680aa9a4..65c7be46a0e 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 */