From 401745fc302370a983aab7eb347a6ea75b7d1e2e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 2 Jun 2015 12:52:05 +0200 Subject: -include wallet headers if compiling wallet library --- src/mintdb/plugin_mintdb_postgres.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mintdb') diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c index 5f4fa02d0..4a07bc872 100644 --- a/src/mintdb/plugin_mintdb_postgres.c +++ b/src/mintdb/plugin_mintdb_postgres.c @@ -165,7 +165,7 @@ postgres_create_tables (void *cls, if (CONNECTION_OK != PQstatus (conn)) { TALER_LOG_ERROR ("Database connection failed: %s\n", - PQerrorMessage (conn)); + PQerrorMessage (conn)); GNUNET_break (0); PQfinish (conn); return GNUNET_SYSERR; @@ -1067,7 +1067,7 @@ postgres_reserves_in_insert (void *cls, if (PGRES_COMMAND_OK != PQresultStatus(result)) { const char *efield; - + efield = PQresultErrorField (result, PG_DIAG_SQLSTATE); if ( (PGRES_FATAL_ERROR == PQresultStatus(result)) && -- cgit v1.2.3