Browse code

ppcfg: add values to log to better tell the problem

Seven Du authored on 19/06/2022 10:13:29 • Daniel-Constantin Mierla committed on 21/06/2022 06:19:08
Showing 1 changed files
... ...
@@ -54,7 +54,7 @@ int pp_def_qvalue(str *defval, str *outval)
54 54
 	str_list_t *sb;
55 55
 
56 56
 	if(pv_get_buffer_size() < defval->len + 4) {
57
-		LM_ERR("defined value is too large\n");
57
+		LM_ERR("defined value is too large %d < %d\n", pv_get_buffer_size(), defval->len + 4);
58 58
 		return -1;
59 59
 	}
60 60
 	newval.s = pv_get_buffer();