Tests: code style fixes

This commit is contained in:
Evgeny Grin (Karlson2k) committed 2021-11-21 15:43:19 +03:00
1 parent 87ab1ec7f7
commit eac16d15db
2 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -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);
+3 -3
View File
@@ -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);