commit 387ec260ee523dca78e1b5e92858a2935e8bf44a
parent 85b9c083b744568c33963d75c1fd41152d60c66a
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Thu, 22 Apr 2021 12:08:21 +0300
Fixed copy-paster and typo errors
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -5863,7 +5863,7 @@ parse_options_va (struct MHD_Daemon *daemon,
&af,
&len))
{
- daemon->listen_is_unix = (AF_UNIX == af) ? _MHD_YES : MHD_NO;
+ daemon->listen_is_unix = (AF_UNIX == af) ? _MHD_YES : _MHD_NO;
}
else
daemon->listen_is_unix = _MHD_UNKNOWN;
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
@@ -157,7 +157,7 @@ MHD_send_init_static_vars_ (void)
* and handles SF_NODISKIO differently.
* SF_FLAGS defined only on FreeBSD 11 and later. */
#ifdef SF_FLAGS
- freebsd_sendfile_init_ (void);
+ freebsd_sendfile_init_ ();
#endif /* SF_FLAGS */
#endif /* HAVE_FREEBSD_SENDFILE */
#if defined(HAVE_SYSCONF) && defined(_SC_IOV_MAX)