summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_db.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-28 15:19:06 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-28 15:19:06 +0100
commit7f171e69b27d48f02acd8c79e3a173a448be7ebd (patch)
treed9079cc827449cea754b667ae7337ff6c4a59219 /src/mint/taler-mint-httpd_db.c
parentc119d914b39305add86ef58e058e80ef7af20a40 (diff)
downloadexchange-7f171e69b27d48f02acd8c79e3a173a448be7ebd.tar.gz
exchange-7f171e69b27d48f02acd8c79e3a173a448be7ebd.tar.bz2
exchange-7f171e69b27d48f02acd8c79e3a173a448be7ebd.zip
more cleanup of mint.h
Diffstat (limited to 'src/mint/taler-mint-httpd_db.c')
-rw-r--r--src/mint/taler-mint-httpd_db.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c
index 49c359a89..1fa42f8de 100644
--- a/src/mint/taler-mint-httpd_db.c
+++ b/src/mint/taler-mint-httpd_db.c
@@ -217,7 +217,8 @@ TALER_MINT_db_execute_withdraw_status (struct MHD_Connection *connection,
return MHD_YES;
}
return TALER_MINT_reply_withdraw_status_success (connection,
- &reserve);
+ TALER_amount_ntoh (reserve.balance),
+ GNUNET_TIME_absolute_ntoh (reserve.expiration));
}