reduce scope
This commit is contained in:
parent
440c3dc1f0
commit
3818cb8f52
@ -55,7 +55,6 @@ TALER_MHD_parse_config (const struct GNUNET_CONFIGURATION_Handle *cfg,
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
const char *serve_type;
|
const char *serve_type;
|
||||||
unsigned long long port;
|
|
||||||
|
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
GNUNET_CONFIGURATION_get_value_choice (cfg,
|
GNUNET_CONFIGURATION_get_value_choice (cfg,
|
||||||
@ -74,6 +73,8 @@ TALER_MHD_parse_config (const struct GNUNET_CONFIGURATION_Handle *cfg,
|
|||||||
if (0 == strcasecmp (serve_type,
|
if (0 == strcasecmp (serve_type,
|
||||||
"tcp"))
|
"tcp"))
|
||||||
{
|
{
|
||||||
|
unsigned long long port;
|
||||||
|
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
GNUNET_CONFIGURATION_get_value_number (cfg,
|
GNUNET_CONFIGURATION_get_value_number (cfg,
|
||||||
section,
|
section,
|
||||||
|
Loading…
Reference in New Issue
Block a user