aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-02-10 18:02:19 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-02-10 18:02:19 +0100
commit4b4a851ab5633543ab567580d9bc656ae0c7b0e7 (patch)
tree1fbaafb12bd151ba73309074d329f120e7779d6d /src
parent865bd196ff9c8e30ff3e035e6f423d3f7b043a6e (diff)
fix log
Diffstat (limited to 'src')
-rw-r--r--src/exchange-tools/taler-wire.c5
1 files changed, 4 insertions, 1 deletions
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 <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