diff options
Diffstat (limited to 'src/microhttpd/test_upgrade_ssl.c')
-rw-r--r-- | src/microhttpd/test_upgrade_ssl.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/microhttpd/test_upgrade_ssl.c b/src/microhttpd/test_upgrade_ssl.c index ad5b40c5..dd70a01d 100644 --- a/src/microhttpd/test_upgrade_ssl.c +++ b/src/microhttpd/test_upgrade_ssl.c | |||
@@ -436,21 +436,21 @@ int | |||
436 | main (int argc, | 436 | main (int argc, |
437 | char *const *argv) | 437 | char *const *argv) |
438 | { | 438 | { |
439 | int errorCount = 0; | 439 | int error_count = 0; |
440 | 440 | ||
441 | if (0 != system ("openssl version 1> /dev/null")) | 441 | if (0 != system ("openssl version 1> /dev/null")) |
442 | return 77; /* openssl not available, can't run the test */ | 442 | return 77; /* openssl not available, can't run the test */ |
443 | errorCount += test_upgrade_internal (MHD_USE_SELECT_INTERNALLY); | 443 | error_count += test_upgrade_internal (MHD_USE_SELECT_INTERNALLY); |
444 | #ifdef HAVE_POLL | 444 | #ifdef HAVE_POLL |
445 | errorCount += test_upgrade_internal (MHD_USE_POLL_INTERNALLY); | 445 | error_count += test_upgrade_internal (MHD_USE_POLL_INTERNALLY); |
446 | #endif | 446 | #endif |
447 | #ifdef EPOLL_SUPPORT | 447 | #ifdef EPOLL_SUPPORT |
448 | errorCount += test_upgrade_internal (MHD_USE_EPOLL_INTERNALLY | | 448 | error_count += test_upgrade_internal (MHD_USE_EPOLL_INTERNALLY | |
449 | MHD_USE_TLS_EPOLL_UPGRADE); | 449 | MHD_USE_TLS_EPOLL_UPGRADE); |
450 | #endif | 450 | #endif |
451 | if (errorCount != 0) | 451 | if (error_count != 0) |
452 | fprintf (stderr, | 452 | fprintf (stderr, |
453 | "Error (code: %u)\n", | 453 | "Error (code: %u)\n", |
454 | errorCount); | 454 | error_count); |
455 | return errorCount != 0; /* 0 == pass */ | 455 | return error_count != 0; /* 0 == pass */ |
456 | } | 456 | } |