From 2de392449365a98c6f382ad7a40d442a84a50afa Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 17 May 2010 11:07:43 +0000 Subject: [PATCH] Added missing #if LWIP_HTTPD_CUSTOM_FILES --- apps/httpserver_raw/fs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/httpserver_raw/fs.c b/apps/httpserver_raw/fs.c index 6640fd4..600098d 100644 --- a/apps/httpserver_raw/fs.c +++ b/apps/httpserver_raw/fs.c @@ -137,9 +137,11 @@ fs_open(const char *name) void fs_close(struct fs_file *file) { +#if LWIP_HTTPD_CUSTOM_FILES if (file->is_custom_file) { fs_close_custom(file); } +#endif /* LWIP_HTTPD_CUSTOM_FILES */ fs_free(file); } /*-----------------------------------------------------------------------------------*/