aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-12-02 14:35:45 +0100
committerChristian Grothoff <christian@grothoff.org>2021-12-02 14:35:45 +0100
commitae866fc45d50a11fce4557500611bee10704fb4a (patch)
tree70b0be278c48022a17c1ced5c7951b9ceb7bbc17
parent3a5eb9285c7e9ac72614174fabc7f7b17d3097fa (diff)
-fix FTBFS
-rw-r--r--src/exchange/taler-exchange-httpd.c4
-rw-r--r--src/exchange/taler-exchange-httpd.h2
-rw-r--r--src/exchange/taler-exchange-httpd_keys.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index ffd61873b..b948c315c 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -130,7 +130,7 @@ static int connection_close;
/**
* -I command-line flag given?
*/
-int TEH_check_invariants;
+int TEH_check_invariants_flag;
/**
* True if we should commit suicide once all active
@@ -1911,7 +1911,7 @@ main (int argc,
GNUNET_GETOPT_option_flag ('I',
"check-invariants",
"enable expensive invariant checks",
- &TEH_check_invariants),
+ &TEH_check_invariants_flag),
GNUNET_GETOPT_option_flag ('r',
"allow-reuse-address",
"allow multiple HTTPDs to listen to the same port",
diff --git a/src/exchange/taler-exchange-httpd.h b/src/exchange/taler-exchange-httpd.h
index 9a7395011..07f6b0231 100644
--- a/src/exchange/taler-exchange-httpd.h
+++ b/src/exchange/taler-exchange-httpd.h
@@ -147,7 +147,7 @@ extern char *TEH_exchange_directory;
/**
* -I command-line flag given?
*/
-extern int TEH_check_invariants;
+extern int TEH_check_invariants_flag;
/**
* Are clients allowed to request /keys for times other than the
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
index 1029d2008..86366eaf6 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -549,7 +549,7 @@ TEH_check_invariants ()
{
struct TEH_KeyStateHandle *ksh;
- if (0 == TEH_check_invariants)
+ if (0 == TEH_check_invariants_flag)
return;
ksh = TEH_keys_get_state ();
if (NULL == ksh)