diff options
Diffstat (limited to 'src/microhttpd/test_upgrade.c')
-rw-r--r-- | src/microhttpd/test_upgrade.c | 6 |
1 files changed, 3 insertions, 3 deletions
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, | |||
456 | void **con_cls, | 456 | void **con_cls, |
457 | enum MHD_RequestTerminationCode toe) | 457 | enum MHD_RequestTerminationCode toe) |
458 | { | 458 | { |
459 | pthread_t*ppth = *con_cls; | 459 | pthread_t *ppth = *con_cls; |
460 | 460 | ||
461 | (void) cls; | 461 | (void) cls; |
462 | (void) connection; /* Unused. Silent compiler warning. */ | 462 | (void) connection; /* Unused. Silent compiler warning. */ |
@@ -464,7 +464,7 @@ notify_completed_cb (void *cls, | |||
464 | (toe != MHD_REQUEST_TERMINATED_CLIENT_ABORT) && | 464 | (toe != MHD_REQUEST_TERMINATED_CLIENT_ABORT) && |
465 | (toe != MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN) ) | 465 | (toe != MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN) ) |
466 | abort (); | 466 | abort (); |
467 | if (! pthread_equal (**((pthread_t**) con_cls), | 467 | if (! pthread_equal (**((pthread_t **) con_cls), |
468 | pthread_self ())) | 468 | pthread_self ())) |
469 | abort (); | 469 | abort (); |
470 | if (NULL != ppth) | 470 | if (NULL != ppth) |
@@ -864,7 +864,7 @@ ahc_upgrade (void *cls, | |||
864 | 864 | ||
865 | if (NULL == *con_cls) | 865 | if (NULL == *con_cls) |
866 | abort (); | 866 | abort (); |
867 | if (! pthread_equal (**((pthread_t**) con_cls), pthread_self ())) | 867 | if (! pthread_equal (**((pthread_t **) con_cls), pthread_self ())) |
868 | abort (); | 868 | abort (); |
869 | resp = MHD_create_response_for_upgrade (&upgrade_cb, | 869 | resp = MHD_create_response_for_upgrade (&upgrade_cb, |
870 | NULL); | 870 | NULL); |