diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-05 15:13:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-05 15:13:11 +0000 |
commit | a056cafb1f65d75de49e3832fe172695736315ae (patch) | |
tree | d1d82c3ee30c94d327227dc9d0dd0123ad3253fe /src/hostlist | |
parent | 1b643a5a7622237e5c327f22d0da8d830bb7e317 (diff) | |
download | gnunet-a056cafb1f65d75de49e3832fe172695736315ae.tar.gz gnunet-a056cafb1f65d75de49e3832fe172695736315ae.zip |
-fix timeout
Diffstat (limited to 'src/hostlist')
-rw-r--r-- | src/hostlist/hostlist-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostlist/hostlist-server.c b/src/hostlist/hostlist-server.c index 60ea2006a..2cda6dd00 100644 --- a/src/hostlist/hostlist-server.c +++ b/src/hostlist/hostlist-server.c | |||
@@ -502,7 +502,7 @@ prepare_daemon (struct MHD_Daemon *daemon_handle) | |||
502 | GNUNET_assert (MHD_YES == MHD_get_fdset (daemon_handle, &rs, &ws, &es, &max)); | 502 | GNUNET_assert (MHD_YES == MHD_get_fdset (daemon_handle, &rs, &ws, &es, &max)); |
503 | haveto = MHD_get_timeout (daemon_handle, &timeout); | 503 | haveto = MHD_get_timeout (daemon_handle, &timeout); |
504 | if (haveto == MHD_YES) | 504 | if (haveto == MHD_YES) |
505 | tv.rel_value_us = (uint64_t) timeout; | 505 | tv.rel_value_us = (uint64_t) timeout * 1000LL; |
506 | else | 506 | else |
507 | tv = GNUNET_TIME_UNIT_FOREVER_REL; | 507 | tv = GNUNET_TIME_UNIT_FOREVER_REL; |
508 | GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max + 1); | 508 | GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max + 1); |