This commit is contained in:
Christian Grothoff 2015-09-22 16:21:20 +02:00
parent 73c8b6787c
commit e62fd9d654

View File

@ -792,14 +792,14 @@ TMH_PARSE_navigate_json (struct MHD_Connection *connection,
where)) where))
{ {
GNUNET_break_op (0); GNUNET_break_op (0);
if (MHD_YES != ret = (MHD_YES !=
TMH_RESPONSE_reply_json_pack (connection, TMH_RESPONSE_reply_json_pack (connection,
MHD_HTTP_BAD_REQUEST, MHD_HTTP_BAD_REQUEST,
"{s:s, s:O}", "{s:s, s:O}",
"error", "Bad format", "error", "Bad format",
"path", path)) "path", path))
return GNUNET_SYSERR; ? GNUNET_SYSERR : GNUNET_NO;
return GNUNET_NO; break;
} }
if (0 != strcmp (where->currency, if (0 != strcmp (where->currency,
TMH_mint_currency_string)) TMH_mint_currency_string))