gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -fix: failing tests


From: gnunet
Subject: [gnunet] branch master updated: -fix: failing tests
Date: Sun, 05 Jul 2020 23:34:10 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 4ae4bcb74 -fix: failing tests
     new 23fc3bf6a Merge branch 'master' of ssh://gnunet.org/gnunet
4ae4bcb74 is described below

commit 4ae4bcb747b95d1ad296a55a3802a8a35437d845
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Sun Jul 5 23:28:07 2020 +0200

    -fix: failing tests
---
 src/gns/test_gns_proxy.c         | 6 ++++--
 src/revocation/test_revocation.c | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/gns/test_gns_proxy.c b/src/gns/test_gns_proxy.c
index c0002673b..13764d520 100644
--- a/src/gns/test_gns_proxy.c
+++ b/src/gns/test_gns_proxy.c
@@ -528,6 +528,8 @@ run (void *cls,
 int
 main (int argc, char *const *argv)
 {
+  char *tmp_argv;
+
   struct GNUNET_GETOPT_CommandLineOption options[] = {
     GNUNET_GETOPT_option_uint16 ('p',
                                  "port",
@@ -557,7 +559,7 @@ main (int argc, char *const *argv)
   }
   if (GNUNET_OK !=
       GNUNET_STRINGS_get_utf8_args (argc, argv,
-                                    &argc, &argv))
+                                    &argc, &tmp_argv))
     return 2;
   GNUNET_log_setup ("gnunet-gns-proxy-test",
                     "WARNING",
@@ -568,7 +570,7 @@ main (int argc, char *const *argv)
                                        options,
                                        &run, NULL))
     return 1;
-  GNUNET_free ((char *) argv);
+  GNUNET_free (tmp_argv);
   return global_ret;
 }
 
diff --git a/src/revocation/test_revocation.c b/src/revocation/test_revocation.c
index 1c2efa60f..b65567d79 100644
--- a/src/revocation/test_revocation.c
+++ b/src/revocation/test_revocation.c
@@ -141,11 +141,11 @@ revocation_cb (void *cls, enum GNUNET_GenericReturnValue 
is_valid)
   }
 }
 
-struct GNUNET_REVOCATION_Pow proof_of_work;
 
+static struct GNUNET_REVOCATION_PowP proof_of_work;
 
 static void
-ego_cb (void *cls, const struct GNUNET_IDENTITY_Ego *ego)
+ego_cb (void *cls, struct GNUNET_IDENTITY_Ego *ego)
 {
   static int completed = 0;
   const struct GNUNET_CRYPTO_EcdsaPrivateKey *privkey;

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