aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-05 15:13:11 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-05 15:13:11 +0000
commita056cafb1f65d75de49e3832fe172695736315ae (patch)
treed1d82c3ee30c94d327227dc9d0dd0123ad3253fe /src/gns
parent1b643a5a7622237e5c327f22d0da8d830bb7e317 (diff)
downloadgnunet-a056cafb1f65d75de49e3832fe172695736315ae.tar.gz
gnunet-a056cafb1f65d75de49e3832fe172695736315ae.zip
-fix timeout
Diffstat (limited to 'src/gns')
-rw-r--r--src/gns/gnunet-bcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/gnunet-bcd.c b/src/gns/gnunet-bcd.c
index 05eaecff4..5c57cbafd 100644
--- a/src/gns/gnunet-bcd.c
+++ b/src/gns/gnunet-bcd.c
@@ -321,7 +321,7 @@ prepare_daemon (struct MHD_Daemon *daemon_handle)
321 GNUNET_assert (MHD_YES == MHD_get_fdset (daemon_handle, &rs, &ws, &es, &max)); 321 GNUNET_assert (MHD_YES == MHD_get_fdset (daemon_handle, &rs, &ws, &es, &max));
322 haveto = MHD_get_timeout (daemon_handle, &timeout); 322 haveto = MHD_get_timeout (daemon_handle, &timeout);
323 if (haveto == MHD_YES) 323 if (haveto == MHD_YES)
324 tv.rel_value_us = (uint64_t) timeout; 324 tv.rel_value_us = (uint64_t) timeout * 1000LL;
325 else 325 else
326 tv = GNUNET_TIME_UNIT_FOREVER_REL; 326 tv = GNUNET_TIME_UNIT_FOREVER_REL;
327 GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max + 1); 327 GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max + 1);