aboutsummaryrefslogtreecommitdiff
path: root/src/mhd
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-14 05:27:14 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-14 05:27:14 +0200
commitde24415e17fbf32c8a145cf8e5dadf2070c29e08 (patch)
treebb85a5f12b8f5462ec7eceb140da5f4548232b4d /src/mhd
parente08fe4eff846da075dc53894d79845d218f307ba (diff)
-avoid deep recursion issues
Diffstat (limited to 'src/mhd')
-rw-r--r--src/mhd/mhd_run.c4
1 files 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
{