projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3822de
)
Patch from Stephane Billiart to fix an unused variable warning.
author
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 15 Sep 2003 15:00:43 +0000
(15:00 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 15 Sep 2003 15:00:43 +0000
(15:00 -0000)
networking/httpd.c
patch
|
blob
|
history
diff --git
a/networking/httpd.c
b/networking/httpd.c
index b27437ab23eb0ca35ed6c43c390c45f3b2988929..6f5100c9ebe15188cf9d5117edede088d303a8f4 100644
(file)
--- a/
networking/httpd.c
+++ b/
networking/httpd.c
@@
-474,9
+474,11
@@
static void free_config_lines(Htaccess **pprev)
static void parse_conf(const char *path, int flag)
{
FILE *f;
+#if defined(CONFIG_FEATURE_HTTPD_BASIC_AUTH) || defined(CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES)
Htaccess *cur;
#ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH
Htaccess *prev;
+#endif
#endif
const char *cf = config->configFile;
@@
-687,9
+689,9
@@
static void parse_conf(const char *path, int flag)
prev = cur;
}
}
-#endif
#endif
}
+#endif
}
fclose(f);
}