summaryrefslogtreecommitdiff
path: root/src/backenddb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-23 00:03:04 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-23 00:03:04 +0200
commit287527d0da1777dd1c256ef01e87f43631b6b1d4 (patch)
treea315c16a25640e1d008b0f7a3b35b6bc33f3a5a2 /src/backenddb
parent51dceb0ed3febf68d80faf0a5ddab6e75b60892d (diff)
downloadmerchant-287527d0da1777dd1c256ef01e87f43631b6b1d4.tar.gz
merchant-287527d0da1777dd1c256ef01e87f43631b6b1d4.tar.bz2
merchant-287527d0da1777dd1c256ef01e87f43631b6b1d4.zip
-update to match latest GNUnet APIs
Diffstat (limited to 'src/backenddb')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 5cf38d9b..3036a439 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -158,6 +158,7 @@ postgres_create_tables (void *cls)
*
* @param cls database context to use
* @param es specification of the event to listen for
+ * @param timeout how long to wait for the event
* @param cb function to call when the event happens, possibly
* multiple times (until cancel is invoked)
* @param cb_cls closure for @a cb
@@ -166,6 +167,7 @@ postgres_create_tables (void *cls)
static struct GNUNET_DB_EventHandler *
postgres_event_listen (void *cls,
const struct GNUNET_DB_EventHeaderP *es,
+ struct GNUNET_TIME_Relative timeout,
GNUNET_DB_EventCallback cb,
void *cb_cls)
{
@@ -173,6 +175,7 @@ postgres_event_listen (void *cls,
return GNUNET_PQ_event_listen (pg->conn,
es,
+ timeout,
cb,
cb_cls);
}