Module: kamailio
Branch: master
Commit: a2511df29adc83544f047cbbdba7a8ba88272930
URL:
https://github.com/kamailio/kamailio/commit/a2511df29adc83544f047cbbdba7a8b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-09-08T10:00:56+02:00
core: log unexpected char in parse_param2()
---
Modified: src/core/parser/parse_param.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a2511df29adc83544f047cbbdba7a8b…
Patch:
https://github.com/kamailio/kamailio/commit/a2511df29adc83544f047cbbdba7a8b…
---
diff --git a/src/core/parser/parse_param.c b/src/core/parser/parse_param.c
index 5452cbe50b..8436e0db23 100644
--- a/src/core/parser/parse_param.c
+++ b/src/core/parser/parse_param.c
@@ -514,7 +514,7 @@ static inline int parse_param2(
goto ok; /* To be able to parse URI parameters */
if(_s->s[0] != separator) {
- LM_ERR("Invalid character, %c expected\n", separator);
+ LM_ERR("Invalid character '%c' - expected '%c'\n",
_s->s[0], separator);
goto error;
}