gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -fix test logic


From: gnunet
Subject: [gnunet] branch master updated: -fix test logic
Date: Mon, 02 Aug 2021 10:33:13 +0200

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 cbe3743f4 -fix test logic
cbe3743f4 is described below

commit cbe3743f496b383947644a2bc6c5c1bf03612dce
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Aug 2 10:29:51 2021 +0200

    -fix test logic
---
 src/pq/test_pq.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/pq/test_pq.c b/src/pq/test_pq.c
index 1df1cd126..ffbb4d129 100644
--- a/src/pq/test_pq.c
+++ b/src/pq/test_pq.c
@@ -38,7 +38,7 @@ static int ret;
 /**
  * An event handler.
  */
-static struct GNUNET_PQ_EventHandler *eh;
+static struct GNUNET_DB_EventHandler *eh;
 
 /**
  * Timeout task.
@@ -129,7 +129,7 @@ run_queries (struct GNUNET_PQ_Context *db)
   uint64_t u64;
   uint64_t u642;
   uint64_t uzzz = 42;
-  
+
   priv = GNUNET_CRYPTO_rsa_private_key_create (1024);
   pub = GNUNET_CRYPTO_rsa_private_key_get_public (priv);
   memset (&hmsg, 42, sizeof(hmsg));
@@ -264,16 +264,16 @@ event_cb (void *cls,
 static int
 test_notify (struct GNUNET_PQ_Context *db)
 {
-  struct GNUNET_PQ_EventHeaderP e1 = {
+  struct GNUNET_DB_EventHeaderP e1 = {
     .size = htons (sizeof (e1)),
     .type = htons (1)
   };
-  struct GNUNET_PQ_EventHeaderP e2 = {
+  struct GNUNET_DB_EventHeaderP e2 = {
     .size = htons (sizeof (e2)),
     .type = htons (2)
   };
   unsigned int called = 0;
-  struct GNUNET_PQ_EventHandler *eh;
+  struct GNUNET_DB_EventHandler *eh;
 
   eh = GNUNET_PQ_event_listen (db,
                                &e1,
@@ -359,7 +359,7 @@ event_sched_cb (void *cls,
 static void
 sched_tests (void *cls)
 {
-  struct GNUNET_PQ_EventHeaderP es = {
+  struct GNUNET_DB_EventHeaderP es = {
     .size = htons (sizeof (es)),
     .type = htons (42)
   };
@@ -382,7 +382,7 @@ sched_tests (void *cls)
                           5);
 }
 
-             
+
 int
 main (int argc,
       const char *const argv[])

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