-stylistic improvement: use numbers for counters instead of GNUNET_OK, etc.

This commit is contained in:
Christian Grothoff 2016-09-29 16:30:57 +02:00
parent 6082645d12
commit e72a7188ac

View File

@ -616,7 +616,7 @@ run_aggregation (void *cls)
session, session,
&deposit_cb, &deposit_cb,
au); au);
if (GNUNET_OK != ret) if (0 >= ret)
{ {
if (NULL != au->wire) if (NULL != au->wire)
json_decref (au->wire); json_decref (au->wire);
@ -624,7 +624,7 @@ run_aggregation (void *cls)
au = NULL; au = NULL;
db_plugin->rollback (db_plugin->cls, db_plugin->rollback (db_plugin->cls,
session); session);
if (0 != ret) if (GNUNET_SYSERR == ret)
{ {
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Failed to execute deposit iteration!\n"); "Failed to execute deposit iteration!\n");