diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2019-05-21 17:52:48 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2019-05-21 17:57:04 +0300 |
commit | 2c5033377fb03e139bd2f90ff9fb9cf6c7e9a4de (patch) | |
tree | 8ea4356f8260c6cb171dc5023f8f3517934dab59 | |
parent | 73380b54a12b5b4bc49d8f944e89c8c5b5c1a4fb (diff) | |
download | libmicrohttpd-2c5033377fb03e139bd2f90ff9fb9cf6c7e9a4de.tar.gz libmicrohttpd-2c5033377fb03e139bd2f90ff9fb9cf6c7e9a4de.zip |
Spelling fixes
-rw-r--r-- | src/include/microhttpd2.h | 8 | ||||
-rw-r--r-- | src/lib/daemon_get_timeout.c | 2 | ||||
-rw-r--r-- | src/lib/daemon_run.c | 2 | ||||
-rw-r--r-- | src/lib/daemon_select.c | 2 | ||||
-rw-r--r-- | src/microhttpd/digestauth.c | 2 | ||||
-rw-r--r-- | src/testcurl/https/test_tls_options.c | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h index 5506d0c9..54120570 100644 --- a/src/include/microhttpd2.h +++ b/src/include/microhttpd2.h | |||
@@ -706,25 +706,25 @@ enum MHD_StatusCode | |||
706 | * This daemon was not configured with options that | 706 | * This daemon was not configured with options that |
707 | * would allow us to build an FD set for select(). | 707 | * would allow us to build an FD set for select(). |
708 | */ | 708 | */ |
709 | MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_FDSET = 50037, | 709 | MHD_SC_CONFIGURATION_MISMATCH_FOR_GET_FDSET = 50037, |
710 | 710 | ||
711 | /** | 711 | /** |
712 | * This daemon was not configured with options that | 712 | * This daemon was not configured with options that |
713 | * would allow us to obtain a meaningful timeout. | 713 | * would allow us to obtain a meaningful timeout. |
714 | */ | 714 | */ |
715 | MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_TIMEOUT = 50038, | 715 | MHD_SC_CONFIGURATION_MISMATCH_FOR_GET_TIMEOUT = 50038, |
716 | 716 | ||
717 | /** | 717 | /** |
718 | * This daemon was not configured with options that | 718 | * This daemon was not configured with options that |
719 | * would allow us to run with select() data. | 719 | * would allow us to run with select() data. |
720 | */ | 720 | */ |
721 | MHD_SC_CONFIGURATION_MISSMATCH_FOR_RUN_SELECT = 50039, | 721 | MHD_SC_CONFIGURATION_MISMATCH_FOR_RUN_SELECT = 50039, |
722 | 722 | ||
723 | /** | 723 | /** |
724 | * This daemon was not configured to run with an | 724 | * This daemon was not configured to run with an |
725 | * external event loop. | 725 | * external event loop. |
726 | */ | 726 | */ |
727 | MHD_SC_CONFIGURATION_MISSMATCH_FOR_RUN_EXTERNAL = 50040, | 727 | MHD_SC_CONFIGURATION_MISMATCH_FOR_RUN_EXTERNAL = 50040, |
728 | 728 | ||
729 | /** | 729 | /** |
730 | * Encountered an unexpected event loop style | 730 | * Encountered an unexpected event loop style |
diff --git a/src/lib/daemon_get_timeout.c b/src/lib/daemon_get_timeout.c index b0c7c8f7..fcf3ecbc 100644 --- a/src/lib/daemon_get_timeout.c +++ b/src/lib/daemon_get_timeout.c | |||
@@ -57,7 +57,7 @@ MHD_daemon_get_timeout (struct MHD_Daemon *daemon, | |||
57 | { | 57 | { |
58 | #ifdef HAVE_MESSAGES | 58 | #ifdef HAVE_MESSAGES |
59 | MHD_DLOG (daemon, | 59 | MHD_DLOG (daemon, |
60 | MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_TIMEOUT, | 60 | MHD_SC_CONFIGURATION_MISMATCH_FOR_GET_TIMEOUT, |
61 | _("Illegal call to MHD_get_timeout\n")); | 61 | _("Illegal call to MHD_get_timeout\n")); |
62 | #endif | 62 | #endif |
63 | return MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_TIMEOUT; | 63 | return MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_TIMEOUT; |
diff --git a/src/lib/daemon_run.c b/src/lib/daemon_run.c index 3ce6a614..129f7efb 100644 --- a/src/lib/daemon_run.c +++ b/src/lib/daemon_run.c | |||
@@ -55,7 +55,7 @@ MHD_daemon_run (struct MHD_Daemon *daemon) | |||
55 | if (daemon->shutdown) | 55 | if (daemon->shutdown) |
56 | return MHD_SC_DAEMON_ALREADY_SHUTDOWN; | 56 | return MHD_SC_DAEMON_ALREADY_SHUTDOWN; |
57 | if (MHD_TM_EXTERNAL_EVENT_LOOP != daemon->threading_mode) | 57 | if (MHD_TM_EXTERNAL_EVENT_LOOP != daemon->threading_mode) |
58 | return MHD_SC_CONFIGURATION_MISSMATCH_FOR_RUN_EXTERNAL; | 58 | return MHD_SC_CONFIGURATION_MISMATCH_FOR_RUN_EXTERNAL; |
59 | switch (daemon->event_loop_syscall) | 59 | switch (daemon->event_loop_syscall) |
60 | { | 60 | { |
61 | case MHD_ELS_POLL: | 61 | case MHD_ELS_POLL: |
diff --git a/src/lib/daemon_select.c b/src/lib/daemon_select.c index 07bd4e93..08281d8c 100644 --- a/src/lib/daemon_select.c +++ b/src/lib/daemon_select.c | |||
@@ -321,7 +321,7 @@ MHD_daemon_get_fdset2 (struct MHD_Daemon *daemon, | |||
321 | { | 321 | { |
322 | if ( (MHD_TM_EXTERNAL_EVENT_LOOP != daemon->threading_mode) || | 322 | if ( (MHD_TM_EXTERNAL_EVENT_LOOP != daemon->threading_mode) || |
323 | (MHD_ELS_POLL == daemon->event_loop_syscall) ) | 323 | (MHD_ELS_POLL == daemon->event_loop_syscall) ) |
324 | return MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_FDSET; | 324 | return MHD_SC_CONFIGURATION_MISMATCH_FOR_GET_FDSET; |
325 | 325 | ||
326 | #ifdef EPOLL_SUPPORT | 326 | #ifdef EPOLL_SUPPORT |
327 | if (MHD_ELS_EPOLL == daemon->event_loop_syscall) | 327 | if (MHD_ELS_EPOLL == daemon->event_loop_syscall) |
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c index 8564e02a..ae5034b8 100644 --- a/src/microhttpd/digestauth.c +++ b/src/microhttpd/digestauth.c | |||
@@ -824,7 +824,7 @@ check_argument_match (struct MHD_Connection *connection, | |||
824 | } | 824 | } |
825 | if (0 != num_headers) | 825 | if (0 != num_headers) |
826 | { | 826 | { |
827 | /* argument count missmatch */ | 827 | /* argument count mismatch */ |
828 | return MHD_NO; | 828 | return MHD_NO; |
829 | } | 829 | } |
830 | return MHD_YES; | 830 | return MHD_YES; |
diff --git a/src/testcurl/https/test_tls_options.c b/src/testcurl/https/test_tls_options.c index e3b427d9..703ae92a 100644 --- a/src/testcurl/https/test_tls_options.c +++ b/src/testcurl/https/test_tls_options.c | |||
@@ -73,7 +73,7 @@ test_unmatching_ssl_version (void * cls, int port, const char *cipher_suite, | |||
73 | send_curl_req (url, &cbc, cipher_suite, curl_req_ssl_version)) | 73 | send_curl_req (url, &cbc, cipher_suite, curl_req_ssl_version)) |
74 | { | 74 | { |
75 | free (cbc.buf); | 75 | free (cbc.buf); |
76 | fprintf (stderr, "cURL failed to reject request despite SSL version missmatch!\n"); | 76 | fprintf (stderr, "cURL failed to reject request despite SSL version mismatch!\n"); |
77 | return -1; | 77 | return -1; |
78 | } | 78 | } |
79 | 79 | ||