libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit 429db552a88452738a9d8e168374447c41907700
parent 2e7f33fd0838be881a070dd6ec946cc64c993778
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Wed,  5 Nov 2025 15:59:15 +0100

mhd_locks.h: cosmetics

Diffstat:
Msrc/mhd2/mhd_locks.h | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/mhd2/mhd_locks.h b/src/mhd2/mhd_locks.h @@ -280,8 +280,8 @@ typedef CRITICAL_SECTION mhd_mutex; * detected. * @param pmutex the pointer to the mutex */ -#define mhd_mutex_destroy_chk(pmutex) do { \ - if (! mhd_mutex_destroy (pmutex)) \ +#define mhd_mutex_destroy_chk(pmutex) do { \ + if (! mhd_mutex_destroy (pmutex)) \ MHD_PANIC ("Failed to destroy mutex.\n"); \ } while (0) @@ -292,8 +292,8 @@ typedef CRITICAL_SECTION mhd_mutex; * If error is detected, execution is aborted. * @param pmutex the pointer to the mutex */ -#define mhd_mutex_lock_chk(pmutex) do { \ - if (! mhd_mutex_lock (pmutex)) \ +#define mhd_mutex_lock_chk(pmutex) do { \ + if (! mhd_mutex_lock (pmutex)) \ MHD_PANIC ("Failed to lock mutex.\n"); \ } while (0) @@ -302,8 +302,8 @@ typedef CRITICAL_SECTION mhd_mutex; * If error is detected, execution is aborted. * @param pmutex the pointer to the mutex */ -#define mhd_mutex_unlock_chk(pmutex) do { \ - if (! mhd_mutex_unlock (pmutex)) \ +#define mhd_mutex_unlock_chk(pmutex) do { \ + if (! mhd_mutex_unlock (pmutex)) \ MHD_PANIC ("Failed to unlock mutex.\n"); \ } while (0)