aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/transport/plugin_transport_http_server.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index abc3bcbb0..3e5a8f24f 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -2256,9 +2256,11 @@ run_mhd_start_daemon (struct HTTP_Server_Plugin *plugin,
2256 if ( (NULL != server) && 2256 if ( (NULL != server) &&
2257 (0 != (plugin->options & HTTP_OPTIONS_TCP_STEALTH)) ) 2257 (0 != (plugin->options & HTTP_OPTIONS_TCP_STEALTH)) )
2258 { 2258 {
2259 union MHD_DaemonInfo *di = MHD_get_daemon_info (server, 2259 const union MHD_DaemonInfo *di;
2260 MHD_DAEMON_INFO_LISTEN_FD, 2260
2261 NULL); 2261 di = MHD_get_daemon_info (server,
2262 MHD_DAEMON_INFO_LISTEN_FD,
2263 NULL);
2262 if ( (0 != setsockopt ((int) di->listen_fd, 2264 if ( (0 != setsockopt ((int) di->listen_fd,
2263 IPPROTO_TCP, 2265 IPPROTO_TCP,
2264 SO_TCPSTEALTH, 2266 SO_TCPSTEALTH,