diff --git a/include/libhttp.h b/include/libhttp.h index 287e9e1c..9cc750fd 100644 --- a/include/libhttp.h +++ b/include/libhttp.h @@ -454,7 +454,6 @@ struct httplib_option { enum { CONFIG_TYPE_UNKNOWN = 0x0, - CONFIG_TYPE_EXT_PATTERN = 0x6 }; diff --git a/src/main.c b/src/main.c index ca8221a1..2a1afcb4 100644 --- a/src/main.c +++ b/src/main.c @@ -377,7 +377,7 @@ static int set_option( struct httplib_option_t *options, const char *name, const /* TODO (low): check this option when it is set, instead of calling * verify_existence later */ break; - case CONFIG_TYPE_EXT_PATTERN: + case 0x06 : /* CONFIG_TYPE_EXT_PATTERN: */ /* list of file extentions */ break; default: