diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-08 19:41:28 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-08 19:41:28 +0300 |
commit | d5245634c224c7169634ce4c34e800447f426c87 (patch) | |
tree | 73a40428811ab644687dd5fe35aac03df8b52ac2 /doc | |
parent | 2636c2090dc7bfceda3cc3541d6ef2133e18de5d (diff) | |
download | libmicrohttpd-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.c | 2 | ||||
-rw-r--r-- | doc/libmicrohttpd.texi | 2 |
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 | |||
882 | be passed as the "arg" argument to "fun". | 882 | be passed as the "arg" argument to "fun". |
883 | 883 | ||
884 | Note that MHD will not generate any log messages without | 884 | Note that MHD will not generate any log messages without |
885 | the MHD_USE_DEBUG flag set and if MHD was compiled | 885 | the MHD_USE_ERROR_LOG flag set and if MHD was compiled |
886 | with the "--disable-messages" flag. | 886 | with the "--disable-messages" flag. |
887 | 887 | ||
888 | @item MHD_OPTION_THREAD_POOL_SIZE | 888 | @item MHD_OPTION_THREAD_POOL_SIZE |