[Privoxy-commits] [privoxy] 01/17: Reorder dcount in the url_spec struct to save memory

User Git git at git.privoxy.org
Thu Jan 21 13:03:28 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 1d208504f8a1db61fe139030b52219345c9cabf0
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Thu Jan 21 11:13:19 2021 +0100

    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 */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list