1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-08-06 05:02:40 +03:00

Removed CONFIG_TYPE_FILE

This commit is contained in:
Lammert Bies
2016-12-28 21:29:52 +01:00
parent 9372499309
commit 4a2771cc1a
2 changed files with 1 additions and 2 deletions

View File

@@ -454,7 +454,6 @@ struct httplib_option {
enum { enum {
CONFIG_TYPE_UNKNOWN = 0x0, CONFIG_TYPE_UNKNOWN = 0x0,
CONFIG_TYPE_FILE = 0x3,
CONFIG_TYPE_DIRECTORY = 0x4, CONFIG_TYPE_DIRECTORY = 0x4,
CONFIG_TYPE_EXT_PATTERN = 0x6 CONFIG_TYPE_EXT_PATTERN = 0x6
}; };

View File

@@ -372,7 +372,7 @@ static int set_option( struct httplib_option_t *options, const char *name, const
return 0; return 0;
} }
break; break;
case CONFIG_TYPE_FILE: case 0x03 : /* CONFIG_TYPE_FILE: */
case CONFIG_TYPE_DIRECTORY: case CONFIG_TYPE_DIRECTORY:
/* TODO (low): check this option when it is set, instead of calling /* TODO (low): check this option when it is set, instead of calling
* verify_existence later */ * verify_existence later */