aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/httpd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index b27437ab2..6f5100c9e 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -474,10 +474,12 @@ static void free_config_lines(Htaccess **pprev)
474static void parse_conf(const char *path, int flag) 474static void parse_conf(const char *path, int flag)
475{ 475{
476 FILE *f; 476 FILE *f;
477#if defined(CONFIG_FEATURE_HTTPD_BASIC_AUTH) || defined(CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES)
477 Htaccess *cur; 478 Htaccess *cur;
478#ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH 479#ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH
479 Htaccess *prev; 480 Htaccess *prev;
480#endif 481#endif
482#endif
481 483
482 const char *cf = config->configFile; 484 const char *cf = config->configFile;
483 char buf[160]; 485 char buf[160];
@@ -688,8 +690,8 @@ static void parse_conf(const char *path, int flag)
688 } 690 }
689 } 691 }
690#endif 692#endif
691#endif
692 } 693 }
694#endif
693 } 695 }
694 fclose(f); 696 fclose(f);
695} 697}