mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +00:00
httpd: fixed compiling makefsdata.c
This commit is contained in:
parent
ffdd44ec74
commit
4cc953d0e3
@ -864,14 +864,14 @@ static int is_ssi_file(const char *filename)
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#include <fnmatch.h>
|
||||
|
||||
static int ext_in_list(const char* filename, const char *ext_list)
|
||||
{
|
||||
if (ext_list == NULL) return 0;
|
||||
if (fnmatch(0, 0, 0)) return 0;
|
||||
|
||||
int found = 0;
|
||||
const char *ext = ext_list;
|
||||
if (ext_list == NULL) {
|
||||
return 0;
|
||||
}
|
||||
while(*ext != '\0') {
|
||||
const char *comma = strchr(ext, ',');
|
||||
size_t ext_size;
|
||||
|
Loading…
Reference in New Issue
Block a user