Module: kamailio
Branch: master
Commit: 307d6db88c218ffd5dc9d6e7de6425ac4ef24748
URL:
https://github.com/kamailio/kamailio/commit/307d6db88c218ffd5dc9d6e7de6425a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-09-19T08:54:32+02:00
tm: remove extra + used before MAXFWD_HEADER_LEN
---
Modified: src/modules/tm/t_msgbuilder.c
---
Diff:
https://github.com/kamailio/kamailio/commit/307d6db88c218ffd5dc9d6e7de6425a…
Patch:
https://github.com/kamailio/kamailio/commit/307d6db88c218ffd5dc9d6e7de6425a…
---
diff --git a/src/modules/tm/t_msgbuilder.c b/src/modules/tm/t_msgbuilder.c
index 9adc4613421..2092d7dd5ff 100644
--- a/src/modules/tm/t_msgbuilder.c
+++ b/src/modules/tm/t_msgbuilder.c
@@ -1320,7 +1320,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 */