summaryrefslogtreecommitdiff
path: root/src/mhd/mhd_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mhd/mhd_config.c')
-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 8ee29ed0..68d69d4d 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,