Просмотр исходного кода

Fixed copy-paster and typo errors

Evgeny Grin (Karlson2k) 4 лет назад
Родитель
Сommit
387ec260ee
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/microhttpd/daemon.c
  2. 1 1
      src/microhttpd/mhd_send.c

+ 1 - 1
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;

+ 1 - 1
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)