diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-14 05:27:14 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-14 05:27:14 +0200 |
commit | de24415e17fbf32c8a145cf8e5dadf2070c29e08 (patch) | |
tree | bb85a5f12b8f5462ec7eceb140da5f4548232b4d /src/mhd | |
parent | e08fe4eff846da075dc53894d79845d218f307ba (diff) |
-avoid deep recursion issues
Diffstat (limited to 'src/mhd')
-rw-r--r-- | src/mhd/mhd_run.c | 4 |
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 { |