gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -formatting, nicer return types


From: gnunet
Subject: [gnunet] branch master updated: -formatting, nicer return types
Date: Sat, 06 Jan 2024 22:48:04 +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 b60499784 -formatting, nicer return types
b60499784 is described below

commit b60499784c71207aa0c6306a94d6163236370540
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Jan 6 22:47:57 2024 +0100

    -formatting, nicer return types
---
 contrib/gana                  | 2 +-
 contrib/handbook              | 2 +-
 src/lib/util/common_logging.c | 9 ++++++---
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index 91e5fd6ed..c1dc2dc97 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 91e5fd6edb1b3567fd151960059ffb911973a447
+Subproject commit c1dc2dc975742c929a523c22d91f7d4f82787230
diff --git a/contrib/handbook b/contrib/handbook
index 5c20e0aaa..e5b42badb 160000
--- a/contrib/handbook
+++ b/contrib/handbook
@@ -1 +1 @@
-Subproject commit 5c20e0aaa95c7cebc225d02231221d18fdcbdb53
+Subproject commit e5b42badb7450aee5367e70294a0f8b1595945eb
diff --git a/src/lib/util/common_logging.c b/src/lib/util/common_logging.c
index d27f70e83..458802a07 100644
--- a/src/lib/util/common_logging.c
+++ b/src/lib/util/common_logging.c
@@ -348,7 +348,7 @@ GNUNET_b2s (const void *buf,
  * @param tm timestamp for which we should setup logging
  * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
  */
-static int
+static enum GNUNET_GenericReturnValue
 setup_log_file (const struct tm *tm)
 {
   static char last_fn[PATH_MAX + 1];
@@ -725,7 +725,7 @@ parse_all_definitions ()
  * @param logfile which file to write log messages to (can be NULL)
  * @return #GNUNET_OK on success
  */
-int
+enum GNUNET_GenericReturnValue
 GNUNET_log_setup (const char *comp,
                   const char *loglevel,
                   const char *logfile)
@@ -737,7 +737,10 @@ GNUNET_log_setup (const char *comp,
   parse_all_definitions ();
 #endif
   GNUNET_free (component);
-  GNUNET_asprintf (&component, "%s-%d", comp, getpid ());
+  GNUNET_asprintf (&component,
+                   "%s-%d",
+                   comp,
+                   getpid ());
   GNUNET_free (component_nopid);
   component_nopid = GNUNET_strdup (comp);
 

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