From e72a7188ace86febbc00b12eb66dd2544f31d69d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 29 Sep 2016 16:30:57 +0200 Subject: [PATCH] -stylistic improvement: use numbers for counters instead of GNUNET_OK, etc. --- src/exchange/taler-exchange-aggregator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c index ca7c68df9..6b261662e 100644 --- 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");