gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 08/09: -set return value following the current API


From: gnunet
Subject: [gnunet] 08/09: -set return value following the current API
Date: Fri, 17 Sep 2021 19:03:24 +0200

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

alessio-vanni pushed a commit to branch master
in repository gnunet.

commit c7ed99ce83e15bab7fc7240a77da703d98a06edd
Author: Alessio Vanni <vannilla@firemail.cc>
AuthorDate: Tue Sep 7 14:57:10 2021 +0200

    -set return value following the current API
---
 src/util/gnunet-config.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/util/gnunet-config.c b/src/util/gnunet-config.c
index b81b3b6a7..2ca78577e 100644
--- a/src/util/gnunet-config.c
+++ b/src/util/gnunet-config.c
@@ -40,11 +40,13 @@ static char *backend_check;
  */
 static int cflags;
 
+
 /**
  * If printing the value of LIBS has been requested.
  */
 static int libs;
 
+
 /**
  * If printing the value of PREFIX has been requested.
  */
@@ -75,6 +77,7 @@ run (void *cls,
   {
     char *prefixdir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_PREFIX);
     char *libdir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_LIBDIR);
+
     if (1 == cflags)
     {
       fprintf (stdout, "-I%sinclude\n", prefixdir);
@@ -87,6 +90,7 @@ run (void *cls,
     {
       fprintf (stdout, "%s\n", prefixdir);
     }
+    cs->global_ret = 0;
     GNUNET_free (prefixdir);
     GNUNET_free (libdir);
     return;

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