-avoid deep recursion issues

This commit is contained in:
Christian Grothoff 2023-07-14 05:27:14 +02:00
parent e08fe4eff8
commit de24415e17
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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
{