[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-sync] branch master updated: -remove artifact created by uncrusti
From: |
gnunet |
Subject: |
[taler-sync] branch master updated: -remove artifact created by uncrustify |
Date: |
Wed, 15 Dec 2021 08:50:42 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository sync.
The following commit(s) were added to refs/heads/master by this push:
new 69bba7c -remove artifact created by uncrustify
69bba7c is described below
commit 69bba7c3376fa71c8a8f0a27eb131462e78b8375
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Wed Dec 15 08:50:39 2021 +0100
-remove artifact created by uncrustify
---
contrib/uncrustify.cfg | 19 ++++++++++++++++++-
src/sync/sync-httpd_backup_post.c | 2 +-
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/contrib/uncrustify.cfg b/contrib/uncrustify.cfg
index f56c8e7..af2d8e6 100644
--- a/contrib/uncrustify.cfg
+++ b/contrib/uncrustify.cfg
@@ -28,7 +28,7 @@ ls_code_width=true
pos_arith=lead
# Fully parenthesize boolean exprs
-mod_full_paren_if_bool=true
+mod_full_paren_if_bool=false
# Braces should be on their own line
nl_fdef_brace=add
@@ -49,8 +49,12 @@ nl_assign_brace=remove
# No extra newlines that cause noisy diffs
nl_start_of_file=remove
+nl_after_func_proto = 2
+nl_after_func_body = 3
# If there's no new line, it's not a text file!
nl_end_of_file=add
+nl_max_blank_in_func = 3
+nl_max = 3
sp_inside_paren = remove
@@ -69,6 +73,7 @@ sp_between_ptr_star = remove
sp_before_sparen = add
sp_inside_fparen = remove
+sp_inside_sparen = remove
# add space before function call and decl: "foo (x)"
sp_func_call_paren = add
@@ -76,3 +81,15 @@ sp_func_proto_paren = add
sp_func_proto_paren_empty = add
sp_func_def_paren = add
sp_func_def_paren_empty = add
+
+# We'd want it for "if ( (foo) || (bar) )", but not for "if (m())",
+# so as uncrustify doesn't give exactly what we want => ignore
+sp_paren_paren = ignore
+sp_inside_paren = remove
+sp_bool = force
+
+nl_func_type_name = force
+#nl_branch_else = add
+nl_else_brace = add
+nl_elseif_brace = add
+nl_for_brace = add
diff --git a/src/sync/sync-httpd_backup_post.c
b/src/sync/sync-httpd_backup_post.c
index a895305..7faf139 100644
--- a/src/sync/sync-httpd_backup_post.c
+++ b/src/sync/sync-httpd_backup_post.c
@@ -384,7 +384,7 @@ ongoing_payment_cb (void *cls,
return; /* can't re-use, fees changed */
if ( (NULL == bc->existing_order_id) ||
(GNUNET_TIME_timestamp_cmp (bc->existing_order_timestamp,
- (<),
+ <,
timestamp)) )
{
GNUNET_free (bc->existing_order_id);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-sync] branch master updated: -remove artifact created by uncrustify,
gnunet <=