aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange-tools')
-rw-r--r--src/exchange-tools/taler-wire.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/exchange-tools/taler-wire.c b/src/exchange-tools/taler-wire.c
index 37d758abb..cff95858e 100644
--- a/src/exchange-tools/taler-wire.c
+++ b/src/exchange-tools/taler-wire.c
@@ -112,6 +112,15 @@ history_cb (void *cls,
{
char *row_off_enc;
+ if (TALER_BANK_DIRECTION_NONE == dir)
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Hit end of transactions list.\n");
+ global_ret = 0;
+ GNUNET_SCHEDULER_shutdown ();
+ return GNUNET_NO;
+ }
+
row_off_enc = GNUNET_STRINGS_data_to_string_alloc (row_off,
row_off_size);
/* Give more details on screen (??) */
@@ -121,9 +130,6 @@ history_cb (void *cls,
GNUNET_free (row_off_enc);
- if (TALER_BANK_DIRECTION_NONE == dir)
- global_ret = 0;
-
return GNUNET_OK;
}