diff options
author | Paul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com> | 2019-06-05 19:12:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-05 19:12:44 +0300 |
commit | 7a44e650cb9b8db5bc89e3727ccda99f9b2fbe87 (patch) | |
tree | e23232768ba37bb9768655f25f5e4abd520bdb48 /web | |
parent | cae6ec1ad6d89dfc14665cc8d0af73086602bbd7 (diff) |
netdata/daemon: Eliminate a couple of warnings, plus tabs removal (#6222)
* netdata/daemon: Eliminate a couple of warnings, plus tabs removal on that file
* netdata/daemon: fix indent
Diffstat (limited to 'web')
-rw-r--r-- | web/server/web_client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/server/web_client.c b/web/server/web_client.c index 76fcf422a5..bd275f5e50 100644 --- a/web/server/web_client.c +++ b/web/server/web_client.c @@ -821,8 +821,12 @@ static inline char *http_header_parse(struct web_client *w, char *s, int parse_u typedef enum { HTTP_VALIDATION_OK, HTTP_VALIDATION_NOT_SUPPORTED, +#ifdef ENABLE_HTTPS HTTP_VALIDATION_INCOMPLETE, HTTP_VALIDATION_REDIRECT +#else + HTTP_VALIDATION_INCOMPLETE +#endif } HTTP_VALIDATION; static inline HTTP_VALIDATION http_request_validate(struct web_client *w) { |