commit eac16d15db60911ff5d6193f2a8201ff1ae6ff0e
parent 87ab1ec7f7e4f31c95fedfdfffa5a940e9d1bcdc
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 17 Nov 2021 15:09:28 +0300
Tests: code style fixes
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c
@@ -456,7 +456,7 @@ notify_completed_cb (void *cls,
void **con_cls,
enum MHD_RequestTerminationCode toe)
{
- pthread_t*ppth = *con_cls;
+ pthread_t *ppth = *con_cls;
(void) cls;
(void) connection; /* Unused. Silent compiler warning. */
@@ -464,7 +464,7 @@ notify_completed_cb (void *cls,
(toe != MHD_REQUEST_TERMINATED_CLIENT_ABORT) &&
(toe != MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN) )
abort ();
- if (! pthread_equal (**((pthread_t**) con_cls),
+ if (! pthread_equal (**((pthread_t **) con_cls),
pthread_self ()))
abort ();
if (NULL != ppth)
@@ -864,7 +864,7 @@ ahc_upgrade (void *cls,
if (NULL == *con_cls)
abort ();
- if (! pthread_equal (**((pthread_t**) con_cls), pthread_self ()))
+ if (! pthread_equal (**((pthread_t **) con_cls), pthread_self ()))
abort ();
resp = MHD_create_response_for_upgrade (&upgrade_cb,
NULL);
diff --git a/src/microhttpd/test_upgrade_large.c b/src/microhttpd/test_upgrade_large.c
@@ -630,7 +630,7 @@ notify_completed_cb (void *cls,
void **con_cls,
enum MHD_RequestTerminationCode toe)
{
- pthread_t*ppth = *con_cls;
+ pthread_t *ppth = *con_cls;
(void) cls;
(void) connection; /* Unused. Silent compiler warning. */
@@ -638,7 +638,7 @@ notify_completed_cb (void *cls,
(toe != MHD_REQUEST_TERMINATED_CLIENT_ABORT) &&
(toe != MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN) )
abort ();
- if (! pthread_equal (**((pthread_t**) con_cls),
+ if (! pthread_equal (**((pthread_t **) con_cls),
pthread_self ()))
abort ();
if (NULL != ppth)
@@ -1051,7 +1051,7 @@ ahc_upgrade (void *cls,
if (NULL == *con_cls)
abort ();
- if (! pthread_equal (**((pthread_t**) con_cls), pthread_self ()))
+ if (! pthread_equal (**((pthread_t **) con_cls), pthread_self ()))
abort ();
resp = MHD_create_response_for_upgrade (&upgrade_cb,
NULL);