aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-29 16:30:57 +0200
committerChristian Grothoff <christian@grothoff.org>2016-09-29 16:30:57 +0200
commite72a7188ace86febbc00b12eb66dd2544f31d69d (patch)
tree7957352e00d1ed67b0275e652ec5596c57b0ff26
parent6082645d1290f89c247472ef6b90a047f13e1d1f (diff)
-stylistic improvement: use numbers for counters instead of GNUNET_OK, etc.
-rw-r--r--src/exchange/taler-exchange-aggregator.c4
1 files 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");