diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c index 873b832a..316405ec 100644 --- 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 index e080266c..dedc08bb 100644 --- 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);