Module: kamailio Branch: master Commit: e648fd5e10a6ec694129be5fab0a84c2c90aa916 URL: https://github.com/kamailio/kamailio/commit/e648fd5e10a6ec694129be5fab0a84c2c90aa916
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> 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/e648fd5e10a6ec694129be5fab0a84c2c90aa916.diff Patch: https://github.com/kamailio/kamailio/commit/e648fd5e10a6ec694129be5fab0a84c2c90aa916.patch --- 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) _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
