Ver código fonte

mhd_send: fix failure to build

ng0 6 anos atrás
pai
commit
7d7d55d12d
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/microhttpd/mhd_send.c

+ 2 - 2
src/microhttpd/mhd_send.c

@@ -100,7 +100,7 @@ pre_cork_setsockopt (struct MHD_Connection *connection,
       return;
     }
   if ( (want_cork) &&
-       (0 == MHD_socket_set_nodelay (connection->socket_fd,
+       (0 == MHD_socket_set_nodelay_ (connection->socket_fd,
                                      false)) )
     connection->sk_cork_on = true;
 #endif
@@ -171,7 +171,7 @@ post_cork_setsockopt (struct MHD_Connection *connection,
       return;
     }
   if ( (! want_cork) &&
-       (0 == MHD_socket_set_nodelay (connection->socket_fd,
+       (0 == MHD_socket_set_nodelay_ (connection->socket_fd,
                                      true)) )
     connection->sk_cork_on = false;
 #endif