aboutsummaryrefslogtreecommitdiff
path: root/src/mhd
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-01 13:44:44 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-01 13:44:44 +0100
commit3818cb8f5235b3e6e7b201d6a030808473618b24 (patch)
treed32160370d44508ae250e310a3be0ee509af2c87 /src/mhd
parent440c3dc1f008a012edb57e49c37af4327ac69536 (diff)
reduce scope
Diffstat (limited to 'src/mhd')
-rw-r--r--src/mhd/mhd_config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mhd/mhd_config.c b/src/mhd/mhd_config.c
index 8ee29ed0e..68d69d4de 100644
--- a/src/mhd/mhd_config.c
+++ b/src/mhd/mhd_config.c
@@ -55,7 +55,6 @@ TALER_MHD_parse_config (const struct GNUNET_CONFIGURATION_Handle *cfg,
NULL
};
const char *serve_type;
- unsigned long long port;
if (GNUNET_OK !=
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,
"tcp"))
{
+ unsigned long long port;
+
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_number (cfg,
section,