-fix FTBFS
This commit is contained in:
parent
3a5eb9285c
commit
ae866fc45d
@ -130,7 +130,7 @@ static int connection_close;
|
|||||||
/**
|
/**
|
||||||
* -I command-line flag given?
|
* -I command-line flag given?
|
||||||
*/
|
*/
|
||||||
int TEH_check_invariants;
|
int TEH_check_invariants_flag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* True if we should commit suicide once all active
|
* True if we should commit suicide once all active
|
||||||
@ -1911,7 +1911,7 @@ main (int argc,
|
|||||||
GNUNET_GETOPT_option_flag ('I',
|
GNUNET_GETOPT_option_flag ('I',
|
||||||
"check-invariants",
|
"check-invariants",
|
||||||
"enable expensive invariant checks",
|
"enable expensive invariant checks",
|
||||||
&TEH_check_invariants),
|
&TEH_check_invariants_flag),
|
||||||
GNUNET_GETOPT_option_flag ('r',
|
GNUNET_GETOPT_option_flag ('r',
|
||||||
"allow-reuse-address",
|
"allow-reuse-address",
|
||||||
"allow multiple HTTPDs to listen to the same port",
|
"allow multiple HTTPDs to listen to the same port",
|
||||||
|
@ -147,7 +147,7 @@ extern char *TEH_exchange_directory;
|
|||||||
/**
|
/**
|
||||||
* -I command-line flag given?
|
* -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
|
* Are clients allowed to request /keys for times other than the
|
||||||
|
@ -549,7 +549,7 @@ TEH_check_invariants ()
|
|||||||
{
|
{
|
||||||
struct TEH_KeyStateHandle *ksh;
|
struct TEH_KeyStateHandle *ksh;
|
||||||
|
|
||||||
if (0 == TEH_check_invariants)
|
if (0 == TEH_check_invariants_flag)
|
||||||
return;
|
return;
|
||||||
ksh = TEH_keys_get_state ();
|
ksh = TEH_keys_get_state ();
|
||||||
if (NULL == ksh)
|
if (NULL == ksh)
|
||||||
|
Loading…
Reference in New Issue
Block a user