From de24415e17fbf32c8a145cf8e5dadf2070c29e08 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 14 Jul 2023 05:27:14 +0200 Subject: [PATCH] -avoid deep recursion issues --- src/mhd/mhd_run.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mhd/mhd_run.c b/src/mhd/mhd_run.c index 7747358ff..8388fbff6 100644 --- a/src/mhd/mhd_run.c +++ b/src/mhd/mhd_run.c @@ -162,8 +162,8 @@ TALER_MHD_daemon_trigger (void) if (NULL != mhd_task) { GNUNET_SCHEDULER_cancel (mhd_task); - mhd_task = NULL; - run_daemon (NULL); + mhd_task = GNUNET_SCHEDULER_add_now (&run_daemon, + NULL); } else {