Browse code

core: log unexpected char in parse_param2()

Daniel-Constantin Mierla authored on 08/09/2021 06:04:06
Showing 1 changed files
... ...
@@ -514,7 +514,7 @@ static inline int parse_param2(
514 514
 		goto ok; /* To be able to parse URI parameters */
515 515
 
516 516
 	if(_s->s[0] != separator) {
517
-		LM_ERR("Invalid character, %c expected\n", separator);
517
+		LM_ERR("Invalid character '%c' - expected '%c'\n", _s->s[0], separator);
518 518
 		goto error;
519 519
 	}
520 520