summaryrefslogtreecommitdiff
path: root/src/mintdb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-02 12:52:05 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-02 12:52:05 +0200
commit401745fc302370a983aab7eb347a6ea75b7d1e2e (patch)
tree0fe9b6429ae6f34784414352eb928c2188a22901 /src/mintdb
parent68a8c36f061853406f93312780162cdf57382d3f (diff)
downloadexchange-401745fc302370a983aab7eb347a6ea75b7d1e2e.tar.gz
exchange-401745fc302370a983aab7eb347a6ea75b7d1e2e.tar.bz2
exchange-401745fc302370a983aab7eb347a6ea75b7d1e2e.zip
-include wallet headers if compiling wallet library
Diffstat (limited to 'src/mintdb')
-rw-r--r--src/mintdb/plugin_mintdb_postgres.c4
1 files changed, 2 insertions, 2 deletions
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)) &&