diff options
Diffstat (limited to 'src/bank-lib/taler-exchange-wire-gateway-client.c')
-rw-r--r-- | src/bank-lib/taler-exchange-wire-gateway-client.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/bank-lib/taler-exchange-wire-gateway-client.c b/src/bank-lib/taler-exchange-wire-gateway-client.c index 436d416d5..47df82a8f 100644 --- a/src/bank-lib/taler-exchange-wire-gateway-client.c +++ b/src/bank-lib/taler-exchange-wire-gateway-client.c | |||
@@ -215,18 +215,18 @@ credit_history_cb (void *cls, | |||
215 | /* If credit/debit accounts were specified, use as a filter */ | 215 | /* If credit/debit accounts were specified, use as a filter */ |
216 | if ( (NULL != credit_account) && | 216 | if ( (NULL != credit_account) && |
217 | (0 != strcasecmp (credit_account, | 217 | (0 != strcasecmp (credit_account, |
218 | details->credit_account_url) ) ) | 218 | details->credit_account_uri) ) ) |
219 | return GNUNET_OK; | 219 | return GNUNET_OK; |
220 | if ( (NULL != debit_account) && | 220 | if ( (NULL != debit_account) && |
221 | (0 != strcasecmp (debit_account, | 221 | (0 != strcasecmp (debit_account, |
222 | details->debit_account_url) ) ) | 222 | details->debit_account_uri) ) ) |
223 | return GNUNET_OK; | 223 | return GNUNET_OK; |
224 | 224 | ||
225 | fprintf (stdout, | 225 | fprintf (stdout, |
226 | "%llu: %s->%s (%s) over %s at %s\n", | 226 | "%llu: %s->%s (%s) over %s at %s\n", |
227 | (unsigned long long) serial_id, | 227 | (unsigned long long) serial_id, |
228 | details->debit_account_url, | 228 | details->debit_account_uri, |
229 | details->credit_account_url, | 229 | details->credit_account_uri, |
230 | TALER_B2S (&details->reserve_pub), | 230 | TALER_B2S (&details->reserve_pub), |
231 | TALER_amount2s (&details->amount), | 231 | TALER_amount2s (&details->amount), |
232 | GNUNET_STRINGS_absolute_time_to_string (details->execution_date)); | 232 | GNUNET_STRINGS_absolute_time_to_string (details->execution_date)); |
@@ -252,6 +252,7 @@ execute_credit_history (void) | |||
252 | &auth, | 252 | &auth, |
253 | start_row, | 253 | start_row, |
254 | -10, | 254 | -10, |
255 | GNUNET_TIME_UNIT_ZERO, | ||
255 | &credit_history_cb, | 256 | &credit_history_cb, |
256 | NULL); | 257 | NULL); |
257 | if (NULL == chh) | 258 | if (NULL == chh) |
@@ -329,18 +330,18 @@ debit_history_cb (void *cls, | |||
329 | /* If credit/debit accounts were specified, use as a filter */ | 330 | /* If credit/debit accounts were specified, use as a filter */ |
330 | if ( (NULL != credit_account) && | 331 | if ( (NULL != credit_account) && |
331 | (0 != strcasecmp (credit_account, | 332 | (0 != strcasecmp (credit_account, |
332 | details->credit_account_url) ) ) | 333 | details->credit_account_uri) ) ) |
333 | return GNUNET_OK; | 334 | return GNUNET_OK; |
334 | if ( (NULL != debit_account) && | 335 | if ( (NULL != debit_account) && |
335 | (0 != strcasecmp (debit_account, | 336 | (0 != strcasecmp (debit_account, |
336 | details->debit_account_url) ) ) | 337 | details->debit_account_uri) ) ) |
337 | return GNUNET_OK; | 338 | return GNUNET_OK; |
338 | 339 | ||
339 | fprintf (stdout, | 340 | fprintf (stdout, |
340 | "%llu: %s->%s (%s) over %s at %s\n", | 341 | "%llu: %s->%s (%s) over %s at %s\n", |
341 | (unsigned long long) serial_id, | 342 | (unsigned long long) serial_id, |
342 | details->debit_account_url, | 343 | details->debit_account_uri, |
343 | details->credit_account_url, | 344 | details->credit_account_uri, |
344 | TALER_B2S (&details->wtid), | 345 | TALER_B2S (&details->wtid), |
345 | TALER_amount2s (&details->amount), | 346 | TALER_amount2s (&details->amount), |
346 | GNUNET_STRINGS_absolute_time_to_string (details->execution_date)); | 347 | GNUNET_STRINGS_absolute_time_to_string (details->execution_date)); |
@@ -366,6 +367,7 @@ execute_debit_history (void) | |||
366 | &auth, | 367 | &auth, |
367 | start_row, | 368 | start_row, |
368 | -10, | 369 | -10, |
370 | GNUNET_TIME_UNIT_ZERO, | ||
369 | &debit_history_cb, | 371 | &debit_history_cb, |
370 | NULL); | 372 | NULL); |
371 | if (NULL == dhh) | 373 | if (NULL == dhh) |