diff options
author | LRN <lrn1986@gmail.com> | 2012-09-16 03:42:46 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2012-09-16 03:42:46 +0000 |
commit | c5784d2c94adcf1fe80e88c9ab1c152ce2fcbe95 (patch) | |
tree | 2edc92060687c204cbca7ef7b41688759c8496b7 | |
parent | 4bd38db1cb506e8434e660b4fb26fd3f628e2fde (diff) | |
download | gnunet-c5784d2c94adcf1fe80e88c9ab1c152ce2fcbe95.tar.gz gnunet-c5784d2c94adcf1fe80e88c9ab1c152ce2fcbe95.zip |
Remove duplicate cleanups
-rw-r--r-- | src/dht/gnunet-dht-monitor.c | 3 |
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, |