summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_check_keys.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-16 20:27:52 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-16 20:27:52 +0200
commitb9f1384b528b9257cef3c220a747be1c9df2f028 (patch)
tree5e1dd970cbca3e636a67f55447143bdc3a1fd120 /src/testing/testing_api_cmd_check_keys.c
parentc326a5bd9d74a599c967a2ad49536110d054a846 (diff)
downloadexchange-b9f1384b528b9257cef3c220a747be1c9df2f028.tar.gz
exchange-b9f1384b528b9257cef3c220a747be1c9df2f028.tar.bz2
exchange-b9f1384b528b9257cef3c220a747be1c9df2f028.zip
avoid boolean flags, see #6188
Diffstat (limited to 'src/testing/testing_api_cmd_check_keys.c')
-rw-r--r--src/testing/testing_api_cmd_check_keys.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testing/testing_api_cmd_check_keys.c b/src/testing/testing_api_cmd_check_keys.c
index a0dca8cf9..20dbfb85b 100644
--- a/src/testing/testing_api_cmd_check_keys.c
+++ b/src/testing/testing_api_cmd_check_keys.c
@@ -128,8 +128,9 @@ check_keys_run (void *cls,
GNUNET_break
(0 == TALER_EXCHANGE_check_keys_current
(is->exchange,
- GNUNET_YES,
- cks->pull_all_keys).abs_value_us);
+ cks->pull_all_keys
+ ? TALER_EXCHANGE_CKF_FORCE_ALL_NOW
+ : TALER_EXCHANGE_CKF_FORCE_DOWNLOAD).abs_value_us);
return;
}