Module: kamailio Branch: master Commit: 01c50c84aed717f9de689ab4eec3faec59a498e4 URL: https://github.com/kamailio/kamailio/commit/01c50c84aed717f9de689ab4eec3faec59a498e4
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2019-06-07T09:55:04+02:00 exec: debug message with number of results for exec_avp() --- Modified: src/modules/exec/exec.c --- Diff: https://github.com/kamailio/kamailio/commit/01c50c84aed717f9de689ab4eec3faec59a498e4.diff Patch: https://github.com/kamailio/kamailio/commit/01c50c84aed717f9de689ab4eec3faec59a498e4.patch --- diff --git a/src/modules/exec/exec.c b/src/modules/exec/exec.c index 6bcf01f74f..0e809ed8af 100644 --- a/src/modules/exec/exec.c +++ b/src/modules/exec/exec.c @@ -282,8 +282,11 @@ int exec_avp(struct sip_msg *msg, char *cmd, pvname_list_p avpl) i++; } - if(i == 0) + if(i == 0) { LM_DBG("no result from %s\n", cmd); + } else { + LM_DBG("%d results from %s\n", i, cmd); + } /* success */ ret = 1; _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
