fix log
This commit is contained in:
parent
865bd196ff
commit
4b4a851ab5
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <gnunet/gnunet_util_lib.h>
|
#include <gnunet/gnunet_util_lib.h>
|
||||||
|
#include <taler/taler_util.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plugin name specified by the user.
|
* Plugin name specified by the user.
|
||||||
@ -56,6 +57,8 @@ run (void *cls,
|
|||||||
if (NULL == plugin)
|
if (NULL == plugin)
|
||||||
{
|
{
|
||||||
global_ret = 1;
|
global_ret = 1;
|
||||||
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
|
"The PLUGIN command line option is mandatory.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -87,7 +90,7 @@ main (int argc,
|
|||||||
|
|
||||||
GNUNET_assert
|
GNUNET_assert
|
||||||
(GNUNET_OK == GNUNET_log_setup ("taler-wire",
|
(GNUNET_OK == GNUNET_log_setup ("taler-wire",
|
||||||
NULL, /* takes default level */
|
NULL,
|
||||||
NULL)); /* filename */
|
NULL)); /* filename */
|
||||||
|
|
||||||
if (GNUNET_OK != GNUNET_PROGRAM_run
|
if (GNUNET_OK != GNUNET_PROGRAM_run
|
||||||
|
Loading…
Reference in New Issue
Block a user