aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-04-22 12:08:21 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-04-22 12:08:21 +0300
commit387ec260ee523dca78e1b5e92858a2935e8bf44a (patch)
tree4487322de9d1ddce29ffed8c64921eb8604bd42c /src
parent85b9c083b744568c33963d75c1fd41152d60c66a (diff)
downloadlibmicrohttpd-387ec260ee523dca78e1b5e92858a2935e8bf44a.tar.gz
libmicrohttpd-387ec260ee523dca78e1b5e92858a2935e8bf44a.zip
Fixed copy-paster and typo errors
Diffstat (limited to 'src')
-rw-r--r--src/microhttpd/daemon.c2
-rw-r--r--src/microhttpd/mhd_send.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 1a4d7452..ad3bd7a7 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -5863,7 +5863,7 @@ parse_options_va (struct MHD_Daemon *daemon,
5863 &af, 5863 &af,
5864 &len)) 5864 &len))
5865 { 5865 {
5866 daemon->listen_is_unix = (AF_UNIX == af) ? _MHD_YES : MHD_NO; 5866 daemon->listen_is_unix = (AF_UNIX == af) ? _MHD_YES : _MHD_NO;
5867 } 5867 }
5868 else 5868 else
5869 daemon->listen_is_unix = _MHD_UNKNOWN; 5869 daemon->listen_is_unix = _MHD_UNKNOWN;
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index a9f2b484..a69fbd07 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -157,7 +157,7 @@ MHD_send_init_static_vars_ (void)
157 * and handles SF_NODISKIO differently. 157 * and handles SF_NODISKIO differently.
158 * SF_FLAGS defined only on FreeBSD 11 and later. */ 158 * SF_FLAGS defined only on FreeBSD 11 and later. */
159#ifdef SF_FLAGS 159#ifdef SF_FLAGS
160 freebsd_sendfile_init_ (void); 160 freebsd_sendfile_init_ ();
161#endif /* SF_FLAGS */ 161#endif /* SF_FLAGS */
162#endif /* HAVE_FREEBSD_SENDFILE */ 162#endif /* HAVE_FREEBSD_SENDFILE */
163#if defined(HAVE_SYSCONF) && defined(_SC_IOV_MAX) 163#if defined(HAVE_SYSCONF) && defined(_SC_IOV_MAX)