aboutsummaryrefslogtreecommitdiff
path: root/src/dht
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2012-09-16 03:42:46 +0000
committerLRN <lrn1986@gmail.com>2012-09-16 03:42:46 +0000
commitc5784d2c94adcf1fe80e88c9ab1c152ce2fcbe95 (patch)
tree2edc92060687c204cbca7ef7b41688759c8496b7 /src/dht
parent4bd38db1cb506e8434e660b4fb26fd3f628e2fde (diff)
Remove duplicate cleanups
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,