diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_withdraw.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_withdraw.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c index 7d10bb8e7..d9cba045c 100644 --- a/src/exchange/taler-exchange-httpd_withdraw.c +++ b/src/exchange/taler-exchange-httpd_withdraw.c | |||
@@ -152,7 +152,6 @@ struct WithdrawContext | |||
152 | * | 152 | * |
153 | * @param cls a `struct WithdrawContext *` | 153 | * @param cls a `struct WithdrawContext *` |
154 | * @param connection MHD request which triggered the transaction | 154 | * @param connection MHD request which triggered the transaction |
155 | * @param session database session to use | ||
156 | * @param[out] mhd_ret set to MHD response status for @a connection, | 155 | * @param[out] mhd_ret set to MHD response status for @a connection, |
157 | * if transaction failed (!) | 156 | * if transaction failed (!) |
158 | * @return transaction status | 157 | * @return transaction status |
@@ -160,7 +159,6 @@ struct WithdrawContext | |||
160 | static enum GNUNET_DB_QueryStatus | 159 | static enum GNUNET_DB_QueryStatus |
161 | withdraw_transaction (void *cls, | 160 | withdraw_transaction (void *cls, |
162 | struct MHD_Connection *connection, | 161 | struct MHD_Connection *connection, |
163 | struct TALER_EXCHANGEDB_Session *session, | ||
164 | MHD_RESULT *mhd_ret) | 162 | MHD_RESULT *mhd_ret) |
165 | { | 163 | { |
166 | struct WithdrawContext *wc = cls; | 164 | struct WithdrawContext *wc = cls; |
@@ -175,7 +173,6 @@ withdraw_transaction (void *cls, | |||
175 | wc->collectable.sig.rsa_signature = NULL; | 173 | wc->collectable.sig.rsa_signature = NULL; |
176 | #endif | 174 | #endif |
177 | qs = TEH_plugin->get_withdraw_info (TEH_plugin->cls, | 175 | qs = TEH_plugin->get_withdraw_info (TEH_plugin->cls, |
178 | session, | ||
179 | &wc->wsrd.h_coin_envelope, | 176 | &wc->wsrd.h_coin_envelope, |
180 | &wc->collectable); | 177 | &wc->collectable); |
181 | if (0 > qs) | 178 | if (0 > qs) |
@@ -212,7 +209,6 @@ withdraw_transaction (void *cls, | |||
212 | "Trying to withdraw from reserve: %s\n", | 209 | "Trying to withdraw from reserve: %s\n", |
213 | TALER_B2S (&r.pub)); | 210 | TALER_B2S (&r.pub)); |
214 | qs = TEH_plugin->reserves_get (TEH_plugin->cls, | 211 | qs = TEH_plugin->reserves_get (TEH_plugin->cls, |
215 | session, | ||
216 | &r); | 212 | &r); |
217 | if (0 > qs) | 213 | if (0 > qs) |
218 | { | 214 | { |
@@ -253,7 +249,6 @@ withdraw_transaction (void *cls, | |||
253 | } | 249 | } |
254 | #endif | 250 | #endif |
255 | qs = TEH_plugin->get_reserve_history (TEH_plugin->cls, | 251 | qs = TEH_plugin->get_reserve_history (TEH_plugin->cls, |
256 | session, | ||
257 | &wc->wsrd.reserve_pub, | 252 | &wc->wsrd.reserve_pub, |
258 | &rh); | 253 | &rh); |
259 | if (NULL == rh) | 254 | if (NULL == rh) |
@@ -300,7 +295,6 @@ withdraw_transaction (void *cls, | |||
300 | wc->collectable.h_coin_envelope = wc->wsrd.h_coin_envelope; | 295 | wc->collectable.h_coin_envelope = wc->wsrd.h_coin_envelope; |
301 | wc->collectable.reserve_sig = wc->signature; | 296 | wc->collectable.reserve_sig = wc->signature; |
302 | qs = TEH_plugin->insert_withdraw_info (TEH_plugin->cls, | 297 | qs = TEH_plugin->insert_withdraw_info (TEH_plugin->cls, |
303 | session, | ||
304 | &wc->collectable); | 298 | &wc->collectable); |
305 | if (0 > qs) | 299 | if (0 > qs) |
306 | { | 300 | { |