Added missing #if LWIP_HTTPD_CUSTOM_FILES

This commit is contained in:
goldsimon 2010-05-17 11:07:43 +00:00
parent debf0134df
commit 2de3924493
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}
/*-----------------------------------------------------------------------------------*/