[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -remove unused macro / add comment
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -remove unused macro / add comment |
Date: |
Fri, 04 Dec 2020 17:51:29 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 2c5857012 -remove unused macro / add comment
2c5857012 is described below
commit 2c5857012467c1420270545472be72d8fa9a5563
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Dec 4 17:51:15 2020 +0100
-remove unused macro / add comment
---
src/util/gnunet-crypto-tvg.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/util/gnunet-crypto-tvg.c b/src/util/gnunet-crypto-tvg.c
index 1e9cc3174..8949f427c 100644
--- a/src/util/gnunet-crypto-tvg.c
+++ b/src/util/gnunet-crypto-tvg.c
@@ -188,8 +188,15 @@ expect_data_dynamic (json_t *vec,
return GNUNET_OK;
}
-#define RETONERR(x) do { int v = x; if (GNUNET_OK != v) return v; } while (0)
+/**
+ * Check a single vector.
+ *
+ * @param operation operator of the vector
+ * @param vec the vector, a JSON object.
+ *
+ * @returns GNUNET_OK if the vector is okay
+ */
static int
checkvec (const char *operation,
json_t *vec)
--
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: -remove unused macro / add comment,
gnunet <=