aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-10-20 17:49:08 +0000
committerChristian Grothoff <christian@grothoff.org>2010-10-20 17:49:08 +0000
commit5ce0118cbd5e8197863f4a1e87e35d99b1823d4d (patch)
tree2a5533b64601c7af9f2115e50ccfd994cfa49e79 /src/transport/plugin_transport_http.c
parentd3bc881af7dd585c41815978bba34a31f9d85e76 (diff)
downloadgnunet-5ce0118cbd5e8197863f4a1e87e35d99b1823d4d.tar.gz
gnunet-5ce0118cbd5e8197863f4a1e87e35d99b1823d4d.zip
off by one
Diffstat (limited to 'src/transport/plugin_transport_http.c')
-rw-r--r--src/transport/plugin_transport_http.c6
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)