From c5784d2c94adcf1fe80e88c9ab1c152ce2fcbe95 Mon Sep 17 00:00:00 2001 From: LRN Date: Sun, 16 Sep 2012 03:42:46 +0000 Subject: Remove duplicate cleanups --- src/dht/gnunet-dht-monitor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/dht') 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, { 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, -- cgit v1.2.3