Module: kamailio Branch: master Commit: 6790185478ba96ebb0626846386b28aea15dcce8 URL: https://github.com/kamailio/kamailio/commit/6790185478ba96ebb0626846386b28ae...
Author: Seven Du dujinfang@x-y-t.cn Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2022-06-21T08:19:08+02:00
ppcfg: add values to log to better tell the problem
---
Modified: src/core/ppcfg.c
---
Diff: https://github.com/kamailio/kamailio/commit/6790185478ba96ebb0626846386b28ae... Patch: https://github.com/kamailio/kamailio/commit/6790185478ba96ebb0626846386b28ae...
---
diff --git a/src/core/ppcfg.c b/src/core/ppcfg.c index 3d91679df6..5a85a4007c 100644 --- a/src/core/ppcfg.c +++ b/src/core/ppcfg.c @@ -54,7 +54,7 @@ int pp_def_qvalue(str *defval, str *outval) str_list_t *sb;
if(pv_get_buffer_size() < defval->len + 4) { - LM_ERR("defined value is too large\n"); + LM_ERR("defined value is too large %d < %d\n", pv_get_buffer_size(), defval->len + 4); return -1; } newval.s = pv_get_buffer();