Ah, I see. So like this? Change already pushed

diff --git a/src/core/pvapi.c b/src/core/pvapi.c
index b36c92b2be..c184db28d9 100644
--- a/src/core/pvapi.c
+++ b/src/core/pvapi.c
@@ -119,6 +119,7 @@ void pv_cache_dump_cb(str *gname, str *name)
 {
        if (cfg_get(core, core_cfg, pv_cache_dump) == my_pid()) {
                pv_cache_dump(cfg_get(core, core_cfg, memlog));
+               cfg_get(core, core_cfg, pv_cache_dump) = 0;
        }
 }


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3448/c1549570768@github.com>