commit 45894549eb25b4e769724243817b16d67ed39b78
parent 661dfa21a425191b321311fa3becbbd6e5c740af
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Mon, 16 Nov 2015 22:42:33 +0100
adding TODO in /pay handler
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c
@@ -174,7 +174,8 @@ deposit_cb (void *cls,
called? */
int i;
- printf ("deposit cb\n");
+ /*FIXME the index is the same for every individual cb */
+ printf ("deposit cb [coins_index %d]\n", pc->index);
if (GNUNET_SYSERR ==
MERCHANT_DB_update_deposit_permission (db_conn,
pc->transaction_id,
@@ -495,7 +496,9 @@ MH_handler_pay (struct TMH_RequestHandler *rh,
refund_deadline,
&coin_sig,
&deposit_cb,
- pc); /*may be destroyed by the time the cb gets called..*/
+ pc); /*FIXME TODO instantiate an individual cls for each
+ cb: each of them needs an index which points the
+ array of all the confirmations */
if (NULL == dh)
{
MHD_resume_connection (connection);