Module: kamailio Branch: master Commit: e648fd5e10a6ec694129be5fab0a84c2c90aa916 URL: https://github.com/kamailio/kamailio/commit/e648fd5e10a6ec694129be5fab0a84c2...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2019-05-14T16:36:08+02:00
core: return negative on error adding pre-processor substdef
- expected by the checks when executing the functions
---
Modified: src/core/ppcfg.c
---
Diff: https://github.com/kamailio/kamailio/commit/e648fd5e10a6ec694129be5fab0a84c2... Patch: https://github.com/kamailio/kamailio/commit/e648fd5e10a6ec694129be5fab0a84c2...
---
diff --git a/src/core/ppcfg.c b/src/core/ppcfg.c index a06795f760..3b026f9978 100644 --- a/src/core/ppcfg.c +++ b/src/core/ppcfg.c @@ -164,7 +164,7 @@ int pp_substdef_add(char *data, int mode) return 0;
error: - return 1; + return -1; }
int pp_subst_run(char **data)