summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-19 17:19:27 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-19 17:19:27 +0200
commit190a1fadafd65d8716f9bcf0704e2bd68c9eeedd (patch)
tree246c096bf863411b48430a4a509469d4203911ea /src/exchange
parent0df2028f96f5977739d4659bf253e0c6d9468326 (diff)
downloadexchange-190a1fadafd65d8716f9bcf0704e2bd68c9eeedd.tar.gz
exchange-190a1fadafd65d8716f9bcf0704e2bd68c9eeedd.tar.bz2
exchange-190a1fadafd65d8716f9bcf0704e2bd68c9eeedd.zip
re-init logging so we can tell by PID who it is
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_deposit.c3
-rw-r--r--src/exchange/taler-exchange-httpd_payback.c1
-rw-r--r--src/exchange/taler-exchange-httpd_refresh_melt.c1
-rw-r--r--src/exchange/taler-exchange-httpd_refund.c1
4 files changed, 5 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_deposit.c b/src/exchange/taler-exchange-httpd_deposit.c
index 53fe4222a..107456cad 100644
--- a/src/exchange/taler-exchange-httpd_deposit.c
+++ b/src/exchange/taler-exchange-httpd_deposit.c
@@ -153,7 +153,7 @@ deposit_transaction (void *cls,
}
return qs;
}
- if (1 == qs)
+ if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT == qs)
{
struct TALER_Amount amount_without_fee;
@@ -182,6 +182,7 @@ deposit_transaction (void *cls,
qs = TEH_plugin->get_coin_transactions (TEH_plugin->cls,
session,
&deposit->coin.coin_pub,
+ GNUNET_NO,
&tl);
if (0 > qs)
return qs;
diff --git a/src/exchange/taler-exchange-httpd_payback.c b/src/exchange/taler-exchange-httpd_payback.c
index aebbe2b82..877a3ce26 100644
--- a/src/exchange/taler-exchange-httpd_payback.c
+++ b/src/exchange/taler-exchange-httpd_payback.c
@@ -209,6 +209,7 @@ payback_transaction (void *cls,
qs = TEH_plugin->get_coin_transactions (TEH_plugin->cls,
session,
&pc->coin->coin_pub,
+ GNUNET_YES,
&tl);
if (0 > qs)
{
diff --git a/src/exchange/taler-exchange-httpd_refresh_melt.c b/src/exchange/taler-exchange-httpd_refresh_melt.c
index 83bf197e2..a844d3a4b 100644
--- a/src/exchange/taler-exchange-httpd_refresh_melt.c
+++ b/src/exchange/taler-exchange-httpd_refresh_melt.c
@@ -172,6 +172,7 @@ refresh_check_melt (struct MHD_Connection *connection,
qs = TEH_plugin->get_coin_transactions (TEH_plugin->cls,
session,
&rmc->refresh_session.coin.coin_pub,
+ GNUNET_NO,
&tl);
if (0 > qs)
{
diff --git a/src/exchange/taler-exchange-httpd_refund.c b/src/exchange/taler-exchange-httpd_refund.c
index 8d573e473..869158063 100644
--- a/src/exchange/taler-exchange-httpd_refund.c
+++ b/src/exchange/taler-exchange-httpd_refund.c
@@ -164,6 +164,7 @@ refund_transaction (void *cls,
qs = TEH_plugin->get_coin_transactions (TEH_plugin->cls,
session,
&refund->coin.coin_pub,
+ GNUNET_NO,
&tl);
if (0 > qs)
{