commit 5ea2a8e68f19204cd64f6c510d3e87853d5457bb
parent b9ed765cda2b33a3f550e04d33f27c4b783efa53
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Thu, 12 May 2022 10:48:10 +0300
Cosmetics for cd5ad7aaadd8f169f79ba3564d49d7f2889093b8
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -7486,11 +7486,10 @@ MHD_start_daemon_va (unsigned int flags,
d->nnc = NULL;
d->nonce_nc_size = 0;
#if defined(MHD_USE_THREADS)
- memset (&d->nnc_lock, 1, sizeof(daemon->nnc_lock));
+ memset (&d->nnc_lock, 1, sizeof(d->nnc_lock));
#endif /* MHD_USE_THREADS */
#endif /* DAUTH_SUPPORT */
-
/* Spawn the worker thread */
if (! MHD_create_named_thread_ (&d->pid,
"MHD-worker",