aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-08 19:41:28 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-08 19:41:28 +0300
commitd5245634c224c7169634ce4c34e800447f426c87 (patch)
tree73a40428811ab644687dd5fe35aac03df8b52ac2 /doc
parent2636c2090dc7bfceda3cc3541d6ef2133e18de5d (diff)
downloadlibmicrohttpd-d5245634c224c7169634ce4c34e800447f426c87.tar.gz
libmicrohttpd-d5245634c224c7169634ce4c34e800447f426c87.zip
Added MHD_USE_ERROR_LOG flag with same value as MHD_USE_DEBUG.
New name better explains flag actions.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/sessions.c2
-rw-r--r--doc/libmicrohttpd.texi2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/sessions.c b/doc/examples/sessions.c
index 8b3e1dfd..be4cf467 100644
--- a/doc/examples/sessions.c
+++ b/doc/examples/sessions.c
@@ -732,7 +732,7 @@ main (int argc, char *const *argv)
732 } 732 }
733 /* initialize PRNG */ 733 /* initialize PRNG */
734 srand ((unsigned int) time (NULL)); 734 srand ((unsigned int) time (NULL));
735 d = MHD_start_daemon (MHD_USE_DEBUG, 735 d = MHD_start_daemon (MHD_USE_ERROR_LOG,
736 atoi (argv[1]), 736 atoi (argv[1]),
737 NULL, NULL, 737 NULL, NULL,
738 &create_response, NULL, 738 &create_response, NULL,
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index ae262950..00784800 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -882,7 +882,7 @@ and the second a pointer of type 'void*' which will
882be passed as the "arg" argument to "fun". 882be passed as the "arg" argument to "fun".
883 883
884Note that MHD will not generate any log messages without 884Note that MHD will not generate any log messages without
885the MHD_USE_DEBUG flag set and if MHD was compiled 885the MHD_USE_ERROR_LOG flag set and if MHD was compiled
886with the "--disable-messages" flag. 886with the "--disable-messages" flag.
887 887
888@item MHD_OPTION_THREAD_POOL_SIZE 888@item MHD_OPTION_THREAD_POOL_SIZE