diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-06-02 12:52:05 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-06-02 12:52:05 +0200 |
commit | 401745fc302370a983aab7eb347a6ea75b7d1e2e (patch) | |
tree | 0fe9b6429ae6f34784414352eb928c2188a22901 /src/mintdb | |
parent | 68a8c36f061853406f93312780162cdf57382d3f (diff) | |
download | exchange-401745fc302370a983aab7eb347a6ea75b7d1e2e.tar.xz |
-include wallet headers if compiling wallet library
Diffstat (limited to 'src/mintdb')
-rw-r--r-- | src/mintdb/plugin_mintdb_postgres.c | 4 |
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)) && |