gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -fix bug in test


From: gnunet
Subject: [gnunet] branch master updated: -fix bug in test
Date: Sun, 03 Mar 2024 10:40:07 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new e4b8e31eb -fix bug in test
e4b8e31eb is described below

commit e4b8e31ebe760b60dc9b5c4246ed7790075d4c46
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Mar 3 10:40:03 2024 +0100

    -fix bug in test
---
 src/service/peerstore/test_peerstore_api_watch.c | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/src/service/peerstore/test_peerstore_api_watch.c 
b/src/service/peerstore/test_peerstore_api_watch.c
index 90f1180f8..8ce39456f 100644
--- a/src/service/peerstore/test_peerstore_api_watch.c
+++ b/src/service/peerstore/test_peerstore_api_watch.c
@@ -55,6 +55,19 @@ finish (void *cls)
 }
 
 
+/**
+ * Continuation called with a status result.
+ *
+ * @param cls closure
+ * @param success #GNUNET_OK or #GNUNET_SYSERR
+ */
+static void
+cont2 (void *cls, int success)
+{
+  sr = NULL;
+}
+
+
 static void
 cont (void *cls)
 {
@@ -66,7 +79,7 @@ cont (void *cls)
                                strlen (val) + 1,
                                GNUNET_TIME_UNIT_FOREVER_ABS,
                                GNUNET_PEERSTORE_STOREOPTION_REPLACE,
-                               NULL,
+                               &cont2,
                                NULL);
 }
 

-- 
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]