diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-16 22:42:33 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-16 22:42:33 +0100 |
commit | 45894549eb25b4e769724243817b16d67ed39b78 (patch) | |
tree | 1250066bcf9440a28435c49c37e5255fc4bec630 /src/backend/taler-merchant-httpd_pay.c | |
parent | 661dfa21a425191b321311fa3becbbd6e5c740af (diff) | |
download | merchant-45894549eb25b4e769724243817b16d67ed39b78.tar.gz merchant-45894549eb25b4e769724243817b16d67ed39b78.tar.bz2 merchant-45894549eb25b4e769724243817b16d67ed39b78.zip |
adding TODO in /pay handler
Diffstat (limited to 'src/backend/taler-merchant-httpd_pay.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_pay.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c index b3084975..c933699e 100644 --- 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); |