commit 4b4a851ab5633543ab567580d9bc656ae0c7b0e7
parent 865bd196ff9c8e30ff3e035e6f423d3f7b043a6e
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Sun, 10 Feb 2019 18:02:19 +0100
fix log
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/exchange-tools/taler-wire.c b/src/exchange-tools/taler-wire.c
@@ -26,6 +26,7 @@
#include <platform.h>
#include <gnunet/gnunet_util_lib.h>
+#include <taler/taler_util.h>
/**
* 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