From 1d208504f8a1db61fe139030b52219345c9cabf0 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 21 Jan 2021 11:13:19 +0100 Subject: [PATCH] Reorder dcount in the url_spec struct to save memory --- project.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.h b/project.h index 39fd39ec..98caadde 100644 --- a/project.h +++ b/project.h @@ -411,9 +411,9 @@ struct url_spec regex_t *host_regex;/**< Regex for host matching */ enum host_regex_type { VANILLA_HOST_PATTERN, PCRE_HOST_PATTERN } host_regex_type; #endif /* defined FEATURE_PCRE_HOST_PATTERNS */ + int dcount; /**< How many parts to this domain? (length of dvec) */ char *dbuffer; /**< Buffer with '\0'-delimited domain name, or NULL to match all hosts. */ char **dvec; /**< List of pointers to the strings in dbuffer. */ - int dcount; /**< How many parts to this domain? (length of dvec) */ int unanchored; /**< Bitmap - flags are ANCHOR_LEFT and ANCHOR_RIGHT. */ char *port_list; /**< List of acceptable ports, or NULL to match all ports */ -- 2.39.2