From b586c195d49a7492c14d27f775dcae8954892fbc Mon Sep 17 00:00:00 2001 From: Lammert Bies Date: Wed, 28 Dec 2016 22:41:55 +0100 Subject: [PATCH] Removed type CONFIG_TYPE_DIRECTORY --- include/libhttp.h | 1 - src/main.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/libhttp.h b/include/libhttp.h index f81d7e06..287e9e1c 100644 --- a/include/libhttp.h +++ b/include/libhttp.h @@ -454,7 +454,6 @@ struct httplib_option { enum { CONFIG_TYPE_UNKNOWN = 0x0, - CONFIG_TYPE_DIRECTORY = 0x4, CONFIG_TYPE_EXT_PATTERN = 0x6 }; diff --git a/src/main.c b/src/main.c index 295f32ec..ca8221a1 100644 --- a/src/main.c +++ b/src/main.c @@ -373,7 +373,7 @@ static int set_option( struct httplib_option_t *options, const char *name, const } break; case 0x03 : /* CONFIG_TYPE_FILE: */ - case CONFIG_TYPE_DIRECTORY: + case 0x04 : /* CONFIG_TYPE_DIRECTORY: */ /* TODO (low): check this option when it is set, instead of calling * verify_existence later */ break;