Reorder need_bind in struct configuration_spec to save memory
authorFabian Keil <fk@fabiankeil.de>
Thu, 21 Jan 2021 10:20:12 +0000 (11:20 +0100)
committerFabian Keil <fk@fabiankeil.de>
Thu, 21 Jan 2021 12:59:22 +0000 (13:59 +0100)
project.h

index 98caadd..eeed8bc 100644 (file)
--- a/project.h
+++ b/project.h
@@ -1435,6 +1435,9 @@ struct configuration_spec
    /** Bitmask of features that can be controlled through the config file. */
    unsigned feature_flags;
 
+   /** Nonzero if we need to bind() to the new port. */
+   int need_bind;
+
    /** The log file name. */
    const char *logfile;
 
@@ -1566,9 +1569,6 @@ struct configuration_spec
    /** List of loaders */
    int (*loaders[NLOADERS])(struct client_state *);
 
-   /** Nonzero if we need to bind() to the new port. */
-   int need_bind;
-
 #ifdef FEATURE_HTTPS_INSPECTION
    /** Password for proxy ca file **/
    char * ca_password;