libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 2c5033377fb03e139bd2f90ff9fb9cf6c7e9a4de
parent 73380b54a12b5b4bc49d8f944e89c8c5b5c1a4fb
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Tue, 21 May 2019 17:52:48 +0300

Spelling fixes

Diffstat:
Msrc/include/microhttpd2.h | 8++++----
Msrc/lib/daemon_get_timeout.c | 2+-
Msrc/lib/daemon_run.c | 2+-
Msrc/lib/daemon_select.c | 2+-
Msrc/microhttpd/digestauth.c | 2+-
Msrc/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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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; }