From 8ff9c07c63ed6060e964d4d99b707050931b6d53 Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs Date: Mon, 5 Oct 2020 16:23:30 -0400 Subject: [PATCH] Fixing header order Signed-off-by: 1000TurquoisePogs --- h/httpserver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/h/httpserver.h b/h/httpserver.h index 5fddd3ee9..74f3ff873 100644 --- a/h/httpserver.h +++ b/h/httpserver.h @@ -180,8 +180,6 @@ typedef struct HttpService_tag{ int matchFlags; int serviceType; int authType; -#define SERVICE_AUTH_FLAG_OPTIONAL 1 - int authFlags; int runInSubtask; void *authority; /* NULL unless AUTH_CUSTOM */ AuthExtract *authExtractionFunction; @@ -204,6 +202,8 @@ typedef struct HttpService_tag{ const char *productURLPrefix; /* provided by the server */ int doImpersonation; AuthValidate *authValidateFunction; +#define SERVICE_AUTH_FLAG_OPTIONAL 1 + int authFlags; } HttpService; typedef struct HTTPServerConfig_tag {