gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-scheme] 02/04: dht/client: Copy the datum in 'copy-search-result


From: gnunet
Subject: [gnunet-scheme] 02/04: dht/client: Copy the datum in 'copy-search-result' (bugfix).
Date: Tue, 18 Jan 2022 11:26:38 +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 152feeec0b758fb2b7f5cc4bed7b2dc1177f2ede
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Tue Jan 18 09:18:30 2022 +0000

    dht/client: Copy the datum in 'copy-search-result' (bugfix).
    
    * gnu/gnunet/dht/client.scm (copy-search-result): Call 'copy-datum' on
      the result of 'search-result->datum'.
---
 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 dc81244..7a0669a 100644
--- a/gnu/gnunet/dht/client.scm
+++ b/gnu/gnunet/dht/client.scm
@@ -263,7 +263,7 @@ undocumented and untested."
 slices in @var{old} do not impact the new search result."
       (define get-path (search-result-get-path old))
       (define put-path (search-result-put-path old))
-      (datum->search-result (search-result->datum old)
+      (datum->search-result (copy-datum (search-result->datum old))
                            #:get-path (and get-path (slice-copy get-path))
                            #:put-path (and put-path (slice-copy put-path))))
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]