diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/exchange/taler-exchange-httpd_db.c | 2 | ||||
-rw-r--r-- | src/exchangedb/Makefile.am | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/exchange/taler-exchange-httpd_db.c b/src/exchange/taler-exchange-httpd_db.c index 1e392c58..4b6b458c 100644 --- a/src/exchange/taler-exchange-httpd_db.c +++ b/src/exchange/taler-exchange-httpd_db.c @@ -246,7 +246,7 @@ TMH_DB_execute_deposit (struct MHD_Connection *connection, } COMMIT_TRANSACTION(session, connection); - GNUNET_assert (GNUNET_OK == + GNUNET_assert (GNUNET_SYSERR != TALER_amount_subtract (&amount_without_fee, &deposit->amount_with_fee, &deposit->deposit_fee)); diff --git a/src/exchangedb/Makefile.am b/src/exchangedb/Makefile.am index 0c6a7313..83be82a2 100644 --- a/src/exchangedb/Makefile.am +++ b/src/exchangedb/Makefile.am @@ -14,7 +14,9 @@ pkgcfg_DATA = \ EXTRA_DIST = \ exchangedb.conf \ - exchangedb-postgres.conf + exchangedb-postgres.conf \ + plugin_exchangedb_common.c \ + test-exchange-db-postgres.conf plugindir = $(libdir)/taler @@ -24,10 +26,6 @@ plugin_LTLIBRARIES = \ libtaler_plugin_exchangedb_postgres.la endif -EXTRA_DIST = \ - plugin_exchangedb_common.c \ - test-exchange-db-postgres.conf - libtaler_plugin_exchangedb_postgres_la_SOURCES = \ plugin_exchangedb_postgres.c libtaler_plugin_exchangedb_postgres_la_LIBADD = \ |