[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/04: Fixed copy-paster and typo errors
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/04: Fixed copy-paster and typo errors |
Date: |
Thu, 22 Apr 2021 12:20:04 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 387ec260ee523dca78e1b5e92858a2935e8bf44a
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Apr 22 12:08:21 2021 +0300
Fixed copy-paster and typo errors
---
src/microhttpd/daemon.c | 2 +-
src/microhttpd/mhd_send.c | 2 +-
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,
&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
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)
* 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)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.