-style fix
This commit is contained in:
parent
a13f90a15e
commit
a2604f7967
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user