From 4b4a851ab5633543ab567580d9bc656ae0c7b0e7 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Sun, 10 Feb 2019 18:02:19 +0100 Subject: fix log --- src/exchange-tools/taler-wire.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/exchange-tools/taler-wire.c b/src/exchange-tools/taler-wire.c index dd32a3b3c..e49a0aed0 100644 --- a/src/exchange-tools/taler-wire.c +++ b/src/exchange-tools/taler-wire.c @@ -26,6 +26,7 @@ #include #include +#include /** * Plugin name specified by the user. @@ -56,6 +57,8 @@ run (void *cls, if (NULL == plugin) { global_ret = 1; + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "The PLUGIN command line option is mandatory.\n"); return; } } @@ -87,7 +90,7 @@ main (int argc, GNUNET_assert (GNUNET_OK == GNUNET_log_setup ("taler-wire", - NULL, /* takes default level */ + NULL, NULL)); /* filename */ if (GNUNET_OK != GNUNET_PROGRAM_run -- cgit v1.2.3