log full config section in error message instead of just the wire method

This commit is contained in:
Florian Dold 2020-06-10 12:45:27 +05:30
parent 599cba3105
commit 2256f31947
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -1017,7 +1017,7 @@ create_wire_fee_for_method (void *cls,
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Invalid or missing amount in `%s' under `%s'\n",
wiremethod,
section,
opt);
*ret = GNUNET_SYSERR;
GNUNET_free (opt);
@ -1039,7 +1039,7 @@ create_wire_fee_for_method (void *cls,
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Invalid or missing amount in `%s' under `%s'\n",
wiremethod,
section,
opt);
*ret = GNUNET_SYSERR;
GNUNET_free (opt);