aboutsummaryrefslogtreecommitdiff
path: root/src/dht
diff options
context:
space:
mode:
Diffstat (limited to 'src/dht')
-rw-r--r--src/dht/gnunet-dht-monitor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dht/gnunet-dht-monitor.c b/src/dht/gnunet-dht-monitor.c
index ecda1be14d..e0e0877863 100644
--- a/src/dht/gnunet-dht-monitor.c
+++ b/src/dht/gnunet-dht-monitor.c
@@ -239,12 +239,11 @@ run (void *cls, char *const *args, const char *cfgfile,
{
key = NULL;
}
- GNUNET_SCHEDULER_add_delayed (timeout_request, &cleanup_task, NULL);
if (verbose)
FPRINTF (stderr,
"Monitoring for %s\n",
GNUNET_TIME_relative_to_string (timeout_request));
- GNUNET_SCHEDULER_add_delayed (timeout, &cleanup_task, NULL);
+ GNUNET_SCHEDULER_add_delayed (timeout_request, &cleanup_task, NULL);
monitor_handle = GNUNET_DHT_monitor_start (dht_handle,
block_type,
key,