reduce scope

This commit is contained in:
Christian Grothoff 2020-03-01 13:44:44 +01:00
parent 440c3dc1f0
commit 3818cb8f52
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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,