Module: kamailio
Branch: master
Commit: 7d1761268615b37f3a0fc49de14b1029c5a27fec
URL:
https://github.com/kamailio/kamailio/commit/7d1761268615b37f3a0fc49de14b102…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2016-11-07T01:48:18+02:00
modules/siputils: do not log CRLF
---
Modified: modules/siputils/chargingvector.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7d1761268615b37f3a0fc49de14b102…
Patch:
https://github.com/kamailio/kamailio/commit/7d1761268615b37f3a0fc49de14b102…
---
diff --git a/modules/siputils/chargingvector.c b/modules/siputils/chargingvector.c
index 08a7e7d..a8e8270 100644
--- a/modules/siputils/chargingvector.c
+++ b/modules/siputils/chargingvector.c
@@ -391,7 +391,7 @@ int sip_handle_pcv(struct sip_msg *msg, char *flags, char *str2)
/* if generated, reparse it */
sip_parse_charging_vector( pcv_body, pcv.len-19 );
/* if it was generated, we need to send it out as a header */
- LM_INFO("Generated PCV header %.*s\n", pcv.len, pcv_buf );
+ LM_INFO("Generated PCV header %.*s\n", pcv.len-2, pcv_buf );
i = sip_add_charging_vector(msg);
if (i <= 0)
{