From d4404cec14e632d94a4b3eca8b889c0c81f30b96 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 12 Aug 2020 13:11:41 +0530 Subject: adapt to GNUnet API change --- src/auditor/report-lib.c | 2 +- src/exchange-tools/taler-exchange-keyup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auditor/report-lib.c b/src/auditor/report-lib.c index f946de52c..48483bde8 100644 --- a/src/auditor/report-lib.c +++ b/src/auditor/report-lib.c @@ -656,7 +656,7 @@ TALER_ARL_init (const struct GNUNET_CONFIGURATION_Handle *c) { TALER_ARL_cfg = c; start_time = GNUNET_TIME_absolute_get (); - if (0 == GNUNET_is_zero (&TALER_ARL_master_pub)) + if (GNUNET_YES == GNUNET_is_zero (&TALER_ARL_master_pub)) { /* -m option not given, try configuration */ char *TALER_ARL_master_public_key_str; diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index d72c2d350..27a5f3cc1 100644 --- a/src/exchange-tools/taler-exchange-keyup.c +++ b/src/exchange-tools/taler-exchange-keyup.c @@ -1386,7 +1386,7 @@ run (void *cls, /* finally, do actual work */ - if (0 != GNUNET_is_zero (&revoke_dkh)) + if (GNUNET_NO == GNUNET_is_zero (&revoke_dkh)) { if (GNUNET_OK != revoke_denomination (&revoke_dkh)) { -- cgit v1.2.3