aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/hostlist-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostlist/hostlist-server.c')
-rw-r--r--src/hostlist/hostlist-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hostlist/hostlist-server.c b/src/hostlist/hostlist-server.c
index d8c8db476..8fdee5545 100644
--- a/src/hostlist/hostlist-server.c
+++ b/src/hostlist/hostlist-server.c
@@ -163,7 +163,7 @@ check_has_addr (void *cls,
163{ 163{
164 int *arg = cls; 164 int *arg = cls;
165 165
166 if (GNUNET_TIME_absolute_get_remaining (expiration).value == 0) 166 if (GNUNET_TIME_absolute_get_remaining (expiration).rel_value == 0)
167 { 167 {
168 GNUNET_STATISTICS_update (stats, 168 GNUNET_STATISTICS_update (stats,
169 gettext_noop("expired addresses encountered"), 169 gettext_noop("expired addresses encountered"),
@@ -533,7 +533,7 @@ prepare_daemon (struct MHD_Daemon *daemon_handle)
533 &max)); 533 &max));
534 haveto = MHD_get_timeout (daemon_handle, &timeout); 534 haveto = MHD_get_timeout (daemon_handle, &timeout);
535 if (haveto == MHD_YES) 535 if (haveto == MHD_YES)
536 tv.value = (uint64_t) timeout; 536 tv.rel_value = (uint64_t) timeout;
537 else 537 else
538 tv = GNUNET_TIME_UNIT_FOREVER_REL; 538 tv = GNUNET_TIME_UNIT_FOREVER_REL;
539 GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max + 1); 539 GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max + 1);