[sr-dev] git:master:a09d1b7e: pv_headers: state header, which could not be split

Henning Westerholt hw at skalatan.de
Sat Mar 14 21:26:02 CET 2020


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

Author: Bastian Triller <bastian.triller at gmail.com>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-03-14T21:25:55+01:00

pv_headers: state header, which could not be split

---

Modified: src/modules/pv_headers/pvh_func.c

---

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

---

diff --git a/src/modules/pv_headers/pvh_func.c b/src/modules/pv_headers/pvh_func.c
index 88a6497a86..688c3f11a3 100644
--- a/src/modules/pv_headers/pvh_func.c
+++ b/src/modules/pv_headers/pvh_func.c
@@ -93,8 +93,8 @@ int pvh_collect_headers(struct sip_msg *msg, int is_auto)
 				&& strchr(val.s, ',') != NULL) {
 
 			if(pvh_split_values(&val, hvals, &d_size, 1) < 0) {
-				LM_ERR("could not parse Diversion header comma separated "
-					   "value");
+				LM_ERR("could not parse %.*s header comma separated "
+					   "value", name.len, name.s);
 				return -1;
 			}
 




More information about the sr-dev mailing list