[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] 03/05: dht/client: Actually remove old operations from t
From: |
gnunet |
Subject: |
[gnunet-scheme] 03/05: dht/client: Actually remove old operations from the hash table. |
Date: |
Tue, 15 Feb 2022 11:03:27 +0100 |
This is an automated email from the git hooks/post-receive script.
maxime-devos pushed a commit to branch master
in repository gnunet-scheme.
commit eac44bfc8bb2b3e31a070ea161703dd0c5b423bf
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Tue Feb 15 09:51:34 2022 +0000
dht/client: Actually remove old operations from the hash table.
* gnu/gnunet/dht/client.scm (reconnect)[control]<stop-search!>: Call
'hashv-remove!' instead of 'hashv-set!'
---
gnu/gnunet/dht/client.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/gnunet/dht/client.scm b/gnu/gnunet/dht/client.scm
index 04fb95b..309456b 100644
--- a/gnu/gnunet/dht/client.scm
+++ b/gnu/gnunet/dht/client.scm
@@ -909,7 +909,7 @@ operation is cancelled, return @code{#false} instead."
;; any.
(hashv-remove! old-id->operation-map (get:unique-id get))
(when (hashv-ref id->operation-map (get:unique-id get))
- (hashv-set! id->operation-map (get:unique-id get) #false)
+ (hashv-remove! id->operation-map (get:unique-id get))
(send-stop-get! mq get)))
(('put! put)
;; Send the put operation to the DHT service.
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.