commit e72a7188ace86febbc00b12eb66dd2544f31d69d
parent 6082645d1290f89c247472ef6b90a047f13e1d1f
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 29 Sep 2016 16:30:57 +0200
-stylistic improvement: use numbers for counters instead of GNUNET_OK, etc.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
@@ -616,7 +616,7 @@ run_aggregation (void *cls)
session,
&deposit_cb,
au);
- if (GNUNET_OK != ret)
+ if (0 >= ret)
{
if (NULL != au->wire)
json_decref (au->wire);
@@ -624,7 +624,7 @@ run_aggregation (void *cls)
au = NULL;
db_plugin->rollback (db_plugin->cls,
session);
- if (0 != ret)
+ if (GNUNET_SYSERR == ret)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Failed to execute deposit iteration!\n");