-style fix

This commit is contained in:
Christian Grothoff 2022-04-15 11:18:33 +02:00
parent a13f90a15e
commit a2604f7967
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -123,10 +123,12 @@ TEH_DB_run_transaction (struct MHD_Connection *connection,
connection, connection,
mhd_ret); mhd_ret);
if (0 > qs) if (0 > qs)
{
TEH_plugin->rollback (TEH_plugin->cls); TEH_plugin->rollback (TEH_plugin->cls);
if (GNUNET_DB_STATUS_HARD_ERROR == qs) if (GNUNET_DB_STATUS_HARD_ERROR == qs)
return GNUNET_SYSERR; return GNUNET_SYSERR;
if (0 <= qs) }
else
{ {
qs = TEH_plugin->commit (TEH_plugin->cls); qs = TEH_plugin->commit (TEH_plugin->cls);
if (GNUNET_DB_STATUS_HARD_ERROR == qs) if (GNUNET_DB_STATUS_HARD_ERROR == qs)