diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-20 17:49:08 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-20 17:49:08 +0000 |
commit | 5ce0118cbd5e8197863f4a1e87e35d99b1823d4d (patch) | |
tree | 2a5533b64601c7af9f2115e50ccfd994cfa49e79 /src/transport | |
parent | d3bc881af7dd585c41815978bba34a31f9d85e76 (diff) | |
download | gnunet-5ce0118cbd5e8197863f4a1e87e35d99b1823d4d.tar.gz gnunet-5ce0118cbd5e8197863f4a1e87e35d99b1823d4d.zip |
off by one
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/plugin_transport_http.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 247db2964..ac04610c1 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c | |||
@@ -1267,9 +1267,9 @@ http_server_daemon_prepare (struct Plugin *plugin , struct MHD_Daemon *daemon_ha | |||
1267 | tv.value = (uint64_t) timeout; | 1267 | tv.value = (uint64_t) timeout; |
1268 | else | 1268 | else |
1269 | tv = GNUNET_TIME_UNIT_SECONDS; | 1269 | tv = GNUNET_TIME_UNIT_SECONDS; |
1270 | GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max); | 1270 | GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max + 1); |
1271 | GNUNET_NETWORK_fdset_copy_native (wws, &ws, max); | 1271 | GNUNET_NETWORK_fdset_copy_native (wws, &ws, max + 1); |
1272 | GNUNET_NETWORK_fdset_copy_native (wes, &es, max); | 1272 | GNUNET_NETWORK_fdset_copy_native (wes, &es, max + 1); |
1273 | if (daemon_handle == plugin->http_server_daemon_v4) | 1273 | if (daemon_handle == plugin->http_server_daemon_v4) |
1274 | { | 1274 | { |
1275 | if (plugin->http_server_task_v4 != GNUNET_SCHEDULER_NO_TASK) | 1275 | if (plugin->http_server_task_v4 != GNUNET_SCHEDULER_NO_TASK) |