diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-08 23:52:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-08 23:52:42 +0000 |
commit | 5b35a46df151b71b503dc1c22f580af1036d1e99 (patch) | |
tree | 08e5d1e499dd1d15ee80001577a54536d95bfd74 /src/transport/plugin_transport_http_server.c | |
parent | 0012a550b5e0981f9da702ba4c5f6478967bb11c (diff) | |
download | gnunet-5b35a46df151b71b503dc1c22f580af1036d1e99.tar.gz gnunet-5b35a46df151b71b503dc1c22f580af1036d1e99.zip |
-assert MHD_VERSION is always above 09E00, remove dead struct
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r-- | src/transport/plugin_transport_http_server.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c index a1c321d1f..6d706efba 100644 --- a/src/transport/plugin_transport_http_server.c +++ b/src/transport/plugin_transport_http_server.c | |||
@@ -1177,7 +1177,6 @@ server_lookup_connection (struct HTTP_Server_Plugin *plugin, | |||
1177 | plugin->env->session_start (NULL, &s->target, PLUGIN_NAME, NULL, 0 ,s, NULL, 0); | 1177 | plugin->env->session_start (NULL, &s->target, PLUGIN_NAME, NULL, 0 ,s, NULL, 0); |
1178 | } | 1178 | } |
1179 | 1179 | ||
1180 | #if MHD_VERSION >= 0x00090E00 | ||
1181 | if ((NULL == s->server_recv) || (NULL == s->server_send)) | 1180 | if ((NULL == s->server_recv) || (NULL == s->server_send)) |
1182 | { | 1181 | { |
1183 | to = (HTTP_SERVER_NOT_VALIDATED_TIMEOUT.rel_value_us / 1000LL / 1000LL); | 1182 | to = (HTTP_SERVER_NOT_VALIDATED_TIMEOUT.rel_value_us / 1000LL / 1000LL); |
@@ -1196,7 +1195,6 @@ server_lookup_connection (struct HTTP_Server_Plugin *plugin, | |||
1196 | 1195 | ||
1197 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, | 1196 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, |
1198 | "Setting timeout for %p to %u sec.\n", sc, to); | 1197 | "Setting timeout for %p to %u sec.\n", sc, to); |
1199 | #endif | ||
1200 | return sc; | 1198 | return sc; |
1201 | } | 1199 | } |
1202 | 1200 | ||