gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 08/15: daemon.c: changed fill value for unused members


From: gnunet
Subject: [libmicrohttpd] 08/15: daemon.c: changed fill value for unused members
Date: Sat, 30 Jul 2022 21:29:30 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 3213c703dd3f02c82efe3a90a77292711fbc3f6d
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Jul 26 20:55:21 2022 +0300

    daemon.c: changed fill value for unused members
---
 src/microhttpd/daemon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index cd89fa94..17c6b66c 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -7608,7 +7608,7 @@ MHD_start_daemon_va (unsigned int flags,
 #endif
         /* Some members must be used only in master daemon */
 #if defined(MHD_USE_THREADS)
-        memset (&d->per_ip_connection_mutex, 1,
+        memset (&d->per_ip_connection_mutex, 0x7F,
                 sizeof(d->per_ip_connection_mutex));
 #endif /* MHD_USE_THREADS */
 #ifdef DAUTH_SUPPORT
@@ -7616,7 +7616,7 @@ MHD_start_daemon_va (unsigned int flags,
         d->nonce_nc_size = 0;
         d->digest_auth_random_copy = NULL;
 #if defined(MHD_USE_THREADS)
-        memset (&d->nnc_lock, 1, sizeof(d->nnc_lock));
+        memset (&d->nnc_lock, 0x7F, sizeof(d->nnc_lock));
 #endif /* MHD_USE_THREADS */
 #endif /* DAUTH_SUPPORT */
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]