aboutsummaryrefslogtreecommitdiff
path: root/src/lib/daemon_destroy.c
diff options
context:
space:
mode:
authorsilvioprog <silvioprog@gmail.com>2018-12-06 13:26:39 -0300
committersilvioprog <silvioprog@gmail.com>2018-12-06 13:26:39 -0300
commit22c08b5fd71091e84247f43bd36ce08184736f17 (patch)
tree963cf6621f22f66f8bfec57a619f6bdea8c1a537 /src/lib/daemon_destroy.c
parentb220303691d627ca3cfe0d949c6aa2257b722c60 (diff)
downloadlibmicrohttpd-22c08b5fd71091e84247f43bd36ce08184736f17.tar.gz
libmicrohttpd-22c08b5fd71091e84247f43bd36ce08184736f17.zip
Renamed all occurrences from _model(s)_ to _mode(s)_.
Diffstat (limited to 'src/lib/daemon_destroy.c')
-rw-r--r--src/lib/daemon_destroy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/daemon_destroy.c b/src/lib/daemon_destroy.c
index ae8c33d8..b4f34d16 100644
--- a/src/lib/daemon_destroy.c
+++ b/src/lib/daemon_destroy.c
@@ -39,7 +39,7 @@ stop_workers (struct MHD_Daemon *daemon)
39 unsigned int i; 39 unsigned int i;
40 40
41 mhd_assert (1 < daemon->worker_pool_size); 41 mhd_assert (1 < daemon->worker_pool_size);
42 mhd_assert (1 < daemon->threading_model); 42 mhd_assert (1 < daemon->threading_mode);
43 if (daemon->was_quiesced) 43 if (daemon->was_quiesced)
44 fd = MHD_INVALID_SOCKET; /* Do not use FD if daemon was quiesced */ 44 fd = MHD_INVALID_SOCKET; /* Do not use FD if daemon was quiesced */
45 else 45 else
@@ -111,7 +111,7 @@ MHD_daemon_destroy (struct MHD_Daemon *daemon)
111 { 111 {
112 mhd_assert (0 == daemon->worker_pool_size); 112 mhd_assert (0 == daemon->worker_pool_size);
113 /* Worker daemon or single-thread daemon. */ 113 /* Worker daemon or single-thread daemon. */
114 if (MHD_TM_EXTERNAL_EVENT_LOOP != daemon->threading_model) 114 if (MHD_TM_EXTERNAL_EVENT_LOOP != daemon->threading_mode)
115 { 115 {
116 /* Worker daemon or single daemon with internal thread(s). */ 116 /* Worker daemon or single daemon with internal thread(s). */
117 /* Separate thread(s) is used for polling sockets. */ 117 /* Separate thread(s) is used for polling sockets. */