-dead code elimination
[oweals/gnunet.git] / src / gns / gnunet-gns-fcfsd.c
index 83206058369304bde8422be776cecef0dc6a2749..dd4572cb1ae2fb9f44be2aaeb24b85f0c2b55796 100644 (file)
@@ -804,7 +804,7 @@ run_httpd ()
   GNUNET_assert (MHD_YES == MHD_get_fdset (httpd, &rs, &ws, &es, &max));
   haveto = MHD_get_timeout (httpd, &timeout);
   if (haveto == MHD_YES)
-    tv.rel_value = (uint64_t) timeout;
+    tv.rel_value_us = (uint64_t) timeout * 1000LL;
   else
     tv = GNUNET_TIME_UNIT_FOREVER_REL;
   GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max + 1);