diff options
Diffstat (limited to 'src/gns/gnunet-gns-fcfsd.c')
-rw-r--r-- | src/gns/gnunet-gns-fcfsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/gnunet-gns-fcfsd.c b/src/gns/gnunet-gns-fcfsd.c index 832060583..dd4572cb1 100644 --- a/src/gns/gnunet-gns-fcfsd.c +++ b/src/gns/gnunet-gns-fcfsd.c | |||
@@ -804,7 +804,7 @@ run_httpd () | |||
804 | GNUNET_assert (MHD_YES == MHD_get_fdset (httpd, &rs, &ws, &es, &max)); | 804 | GNUNET_assert (MHD_YES == MHD_get_fdset (httpd, &rs, &ws, &es, &max)); |
805 | haveto = MHD_get_timeout (httpd, &timeout); | 805 | haveto = MHD_get_timeout (httpd, &timeout); |
806 | if (haveto == MHD_YES) | 806 | if (haveto == MHD_YES) |
807 | tv.rel_value = (uint64_t) timeout; | 807 | tv.rel_value_us = (uint64_t) timeout * 1000LL; |
808 | else | 808 | else |
809 | tv = GNUNET_TIME_UNIT_FOREVER_REL; | 809 | tv = GNUNET_TIME_UNIT_FOREVER_REL; |
810 | GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max + 1); | 810 | GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max + 1); |