[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -better indentation
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -better indentation |
Date: |
Wed, 01 Feb 2023 20:00:03 +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 66580ab82 -better indentation
66580ab82 is described below
commit 66580ab8268c4e020f01b10d8c46413b486b9b1f
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Feb 1 19:59:49 2023 +0100
-better indentation
---
contrib/gana | 2 +-
contrib/sphinx | 2 +-
src/util/configuration.c | 24 +++++++++++++++++-------
3 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/contrib/gana b/contrib/gana
index 66228b8a4..79163ab6e 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 66228b8a4306f028d843d78fbfcca54260539ff9
+Subproject commit 79163ab6ea6f6cfe7f4311f91fb45c747b8c33da
diff --git a/contrib/sphinx b/contrib/sphinx
index 9c5b9d904..4f40b5dec 160000
--- a/contrib/sphinx
+++ b/contrib/sphinx
@@ -1 +1 @@
-Subproject commit 9c5b9d9040d21542eff792e26624cf9669b127aa
+Subproject commit 4f40b5deca02c8dc64ff6c73e6602e6abdd1bae2
diff --git a/src/util/configuration.c b/src/util/configuration.c
index 1a66458db..b7ca377a9 100644
--- a/src/util/configuration.c
+++ b/src/util/configuration.c
@@ -801,7 +801,8 @@ GNUNET_CONFIGURATION_deserialize (struct
GNUNET_CONFIGURATION_Handle *cfg,
*end = '\0';
directive = line + 1;
- if (0 == strcasecmp (directive, "INLINE"))
+ if (0 == strcasecmp (directive,
+ "INLINE"))
{
const char *path = end + 1;
@@ -816,7 +817,8 @@ GNUNET_CONFIGURATION_deserialize (struct
GNUNET_CONFIGURATION_Handle *cfg,
source_filename,
nr);
}
- else if (0 == strcasecmp (directive, "INLINE-MATCHING"))
+ else if (0 == strcasecmp (directive,
+ "INLINE-MATCHING"))
{
const char *path = end + 1;
@@ -831,7 +833,8 @@ GNUNET_CONFIGURATION_deserialize (struct
GNUNET_CONFIGURATION_Handle *cfg,
source_filename,
nr);
}
- else if (0 == strcasecmp (directive, "INLINE-SECRET"))
+ else if (0 == strcasecmp (directive,
+ "INLINE-SECRET"))
{
char *secname = end + 1;
char *secname_end;
@@ -881,7 +884,8 @@ GNUNET_CONFIGURATION_deserialize (struct
GNUNET_CONFIGURATION_Handle *cfg,
}
continue;
}
- if (('[' == line[0]) && (']' == line[line_size - 1]))
+ if ( ('[' == line[0]) &&
+ (']' == line[line_size - 1]) )
{
/* [value] */
line[line_size - 1] = '\0';
@@ -923,18 +927,24 @@ GNUNET_CONFIGURATION_deserialize (struct
GNUNET_CONFIGURATION_Handle *cfg,
/* remove quotes */
i = 0;
- if (('"' == value[0]) && ('"' == value[strlen (value) - 1]))
+ if ( ('"' == value[0]) &&
+ ('"' == value[strlen (value) - 1]) )
{
value[strlen (value) - 1] = '\0';
value++;
}
- GNUNET_CONFIGURATION_set_value_string (cfg, section, tag, &value[i]);
+ GNUNET_CONFIGURATION_set_value_string (cfg,
+ section,
+ tag,
+ &value[i]);
if (cfg->diagnostics)
{
set_entry_hint (cfg,
section,
tag,
- source_filename ? source_filename : "<input>",
+ source_filename
+ ? source_filename
+ : "<input>",
nr);
}
GNUNET_free (tag);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -better indentation,
gnunet <=