From f22ef3e40c7a5e16477578031d674f60582e76d8 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 12 Feb 2019 18:34:44 +0100 Subject: Fix passing of delta. --- src/exchange-tools/taler-wire.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/exchange-tools/taler-wire.c') diff --git a/src/exchange-tools/taler-wire.c b/src/exchange-tools/taler-wire.c index cff95858e..835e42004 100644 --- a/src/exchange-tools/taler-wire.c +++ b/src/exchange-tools/taler-wire.c @@ -208,6 +208,14 @@ execute_wire_transfer () struct TALER_Amount a; struct TALER_WireTransferIdentifierRawP wtid; + if (NULL == amount) + { + fprintf (stderr, + "The option -a: AMOUNT, is mandatory.\n"); + GNUNET_SCHEDULER_shutdown (); + return; + } + if (GNUNET_OK != TALER_string_to_amount (amount, &a)) { @@ -269,7 +277,7 @@ execute_history () TALER_BANK_DIRECTION_BOTH, since_when_bin, bin_len, - 10, + -10, history_cb, NULL)) { @@ -310,7 +318,7 @@ run (void *cls, if (NULL == account_section) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "The ACCOUNT-SECTION is mandatory.\n"); + "The option: -s ACCOUNT-SECTION, is mandatory.\n"); return; } -- cgit v1.2.3