From 2c5033377fb03e139bd2f90ff9fb9cf6c7e9a4de Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Tue, 21 May 2019 17:52:48 +0300 Subject: Spelling fixes --- src/include/microhttpd2.h | 8 ++++---- src/lib/daemon_get_timeout.c | 2 +- src/lib/daemon_run.c | 2 +- src/lib/daemon_select.c | 2 +- src/microhttpd/digestauth.c | 2 +- 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 * This daemon was not configured with options that * would allow us to build an FD set for select(). */ - MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_FDSET = 50037, + MHD_SC_CONFIGURATION_MISMATCH_FOR_GET_FDSET = 50037, /** * This daemon was not configured with options that * would allow us to obtain a meaningful timeout. */ - MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_TIMEOUT = 50038, + MHD_SC_CONFIGURATION_MISMATCH_FOR_GET_TIMEOUT = 50038, /** * This daemon was not configured with options that * would allow us to run with select() data. */ - MHD_SC_CONFIGURATION_MISSMATCH_FOR_RUN_SELECT = 50039, + MHD_SC_CONFIGURATION_MISMATCH_FOR_RUN_SELECT = 50039, /** * This daemon was not configured to run with an * external event loop. */ - MHD_SC_CONFIGURATION_MISSMATCH_FOR_RUN_EXTERNAL = 50040, + MHD_SC_CONFIGURATION_MISMATCH_FOR_RUN_EXTERNAL = 50040, /** * 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, { #ifdef HAVE_MESSAGES MHD_DLOG (daemon, - MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_TIMEOUT, + MHD_SC_CONFIGURATION_MISMATCH_FOR_GET_TIMEOUT, _("Illegal call to MHD_get_timeout\n")); #endif 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) if (daemon->shutdown) return MHD_SC_DAEMON_ALREADY_SHUTDOWN; if (MHD_TM_EXTERNAL_EVENT_LOOP != daemon->threading_mode) - return MHD_SC_CONFIGURATION_MISSMATCH_FOR_RUN_EXTERNAL; + return MHD_SC_CONFIGURATION_MISMATCH_FOR_RUN_EXTERNAL; switch (daemon->event_loop_syscall) { 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, { if ( (MHD_TM_EXTERNAL_EVENT_LOOP != daemon->threading_mode) || (MHD_ELS_POLL == daemon->event_loop_syscall) ) - return MHD_SC_CONFIGURATION_MISSMATCH_FOR_GET_FDSET; + return MHD_SC_CONFIGURATION_MISMATCH_FOR_GET_FDSET; #ifdef EPOLL_SUPPORT 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, } if (0 != num_headers) { - /* argument count missmatch */ + /* argument count mismatch */ return MHD_NO; } 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, send_curl_req (url, &cbc, cipher_suite, curl_req_ssl_version)) { free (cbc.buf); - fprintf (stderr, "cURL failed to reject request despite SSL version missmatch!\n"); + fprintf (stderr, "cURL failed to reject request despite SSL version mismatch!\n"); return -1; } -- cgit v1.2.3