[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -de-deprecate
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -de-deprecate |
Date: |
Wed, 21 Jul 2021 16:31:18 +0200 |
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 ee7b00389 -de-deprecate
ee7b00389 is described below
commit ee7b00389ed9f801ec7fb3d9d729abe9a6e47bb1
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jul 21 16:27:55 2021 +0200
-de-deprecate
---
src/include/gnunet_pq_lib.h | 3 +--
src/pq/pq.c | 6 ++----
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/include/gnunet_pq_lib.h b/src/include/gnunet_pq_lib.h
index d7fa793ca..2cecb9885 100644
--- a/src/include/gnunet_pq_lib.h
+++ b/src/include/gnunet_pq_lib.h
@@ -527,9 +527,8 @@ GNUNET_PQ_exec_prepared (struct GNUNET_PQ_Context *db,
* @return
* #GNUNET_YES if all results could be extracted
* #GNUNET_SYSERR if a result was invalid (non-existing field)
- * @deprecated (should become an internal API)
*/
-int
+enum GNUNET_GenericReturnValue
GNUNET_PQ_extract_result (PGresult *result,
struct GNUNET_PQ_ResultSpec *rs,
int row);
diff --git a/src/pq/pq.c b/src/pq/pq.c
index 356472fa3..0b6ef8729 100644
--- a/src/pq/pq.c
+++ b/src/pq/pq.c
@@ -123,16 +123,14 @@ GNUNET_PQ_cleanup_result (struct GNUNET_PQ_ResultSpec *rs)
}
-int
+enum GNUNET_GenericReturnValue
GNUNET_PQ_extract_result (PGresult *result,
struct GNUNET_PQ_ResultSpec *rs,
int row)
{
- unsigned int i;
-
if (NULL == result)
return GNUNET_SYSERR;
- for (i = 0; NULL != rs[i].conv; i++)
+ for (unsigned int i = 0; NULL != rs[i].conv; i++)
{
struct GNUNET_PQ_ResultSpec *spec;
enum GNUNET_GenericReturnValue ret;
--
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: -de-deprecate,
gnunet <=