Browse Source

Fix type introduced in SVN 36682

Evgeny Grin (Karlson2k) 10 năm trước cách đây
mục cha
commit
bd05eb2703
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/microhttpd/connection.c

+ 1 - 1
src/microhttpd/connection.c

@@ -2509,7 +2509,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection)
 #if HAVE_DECL_TCP_CORK
           /* done sending, uncork */
           {
-            const _MHD_SOCKOPT_BOOL_TYPE = 0;
+            const _MHD_SOCKOPT_BOOL_TYPE val = 0;
             setsockopt (connection->socket_fd, IPPROTO_TCP, TCP_CORK, &val,
                         sizeof (val));
           }