diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-11-22 20:28:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-11-22 20:28:16 +0000 |
commit | f65f40d0d8162e31b32fdc2595b7e5088cd0a5b3 (patch) | |
tree | 700037ef9323a6249a852072a1f68abf0ec8ed99 /src/transport/plugin_transport_http_server.c | |
parent | 3fabbc289b167e5b30f902a3fbee124ab308d3a0 (diff) | |
download | gnunet-f65f40d0d8162e31b32fdc2595b7e5088cd0a5b3.tar.gz gnunet-f65f40d0d8162e31b32fdc2595b7e5088cd0a5b3.zip |
-fix warning
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r-- | src/transport/plugin_transport_http_server.c | 8 |
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, |