aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsilvioprog <silvioprog@gmail.com>2020-04-20 21:52:22 -0300
committersilvioprog <silvioprog@gmail.com>2020-04-20 21:52:22 -0300
commit0e12cc26791c3d38023f593f5242bdcff5e548de (patch)
treeaa61bae48287fa157c2bb96be4c505e87b5b93cb
parent912181afd31184ae6739b927315d09c13a952f73 (diff)
downloadlibmicrohttpd-0e12cc26791c3d38023f593f5242bdcff5e548de.tar.gz
libmicrohttpd-0e12cc26791c3d38023f593f5242bdcff5e548de.zip
Applied spelling fixes.
-rw-r--r--src/microhttpd/daemon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 660ee61e..1c0fcb7e 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -5992,7 +5992,7 @@ MHD_start_daemon_va (unsigned int flags,
5992#endif 5992#endif
5993#endif 5993#endif
5994 5994
5995 /* Thread pooling currently works only with internal select thread mode */ 5995 /* Thread polling currently works only with internal select thread mode */
5996#if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS) 5996#if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS)
5997 if ( (0 == (*pflags & MHD_USE_INTERNAL_POLLING_THREAD)) && 5997 if ( (0 == (*pflags & MHD_USE_INTERNAL_POLLING_THREAD)) &&
5998 (daemon->worker_pool_size > 0) ) 5998 (daemon->worker_pool_size > 0) )
@@ -6000,7 +6000,7 @@ MHD_start_daemon_va (unsigned int flags,
6000#ifdef HAVE_MESSAGES 6000#ifdef HAVE_MESSAGES
6001 MHD_DLOG (daemon, 6001 MHD_DLOG (daemon,
6002 _ ( 6002 _ (
6003 "MHD thread pooling only works with MHD_USE_INTERNAL_POLLING_THREAD\n")); 6003 "MHD thread polling only works with MHD_USE_INTERNAL_POLLING_THREAD\n"));
6004#endif 6004#endif
6005 goto free_and_fail; 6005 goto free_and_fail;
6006 } 6006 }
@@ -6488,7 +6488,7 @@ MHD_start_daemon_va (unsigned int flags,
6488 struct MHD_Daemon *d = &daemon->worker_pool[i]; 6488 struct MHD_Daemon *d = &daemon->worker_pool[i];
6489 6489
6490 memcpy (d, daemon, sizeof (struct MHD_Daemon)); 6490 memcpy (d, daemon, sizeof (struct MHD_Daemon));
6491 /* Adjust pooling params for worker daemons; note that memcpy() 6491 /* Adjust polling params for worker daemons; note that memcpy()
6492 has already copied MHD_USE_INTERNAL_POLLING_THREAD thread mode into 6492 has already copied MHD_USE_INTERNAL_POLLING_THREAD thread mode into
6493 the worker threads. */ 6493 the worker threads. */
6494 d->master = daemon; 6494 d->master = daemon;