aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ecda1be14..e0e087786 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,
239 { 239 {
240 key = NULL; 240 key = NULL;
241 } 241 }
242 GNUNET_SCHEDULER_add_delayed (timeout_request, &cleanup_task, NULL);
243 if (verbose) 242 if (verbose)
244 FPRINTF (stderr, 243 FPRINTF (stderr,
245 "Monitoring for %s\n", 244 "Monitoring for %s\n",
246 GNUNET_TIME_relative_to_string (timeout_request)); 245 GNUNET_TIME_relative_to_string (timeout_request));
247 GNUNET_SCHEDULER_add_delayed (timeout, &cleanup_task, NULL); 246 GNUNET_SCHEDULER_add_delayed (timeout_request, &cleanup_task, NULL);
248 monitor_handle = GNUNET_DHT_monitor_start (dht_handle, 247 monitor_handle = GNUNET_DHT_monitor_start (dht_handle,
249 block_type, 248 block_type,
250 key, 249 key,