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

index eeed8bc..191fe35 100644 (file)
--- a/project.h
+++ b/project.h
@@ -1263,12 +1263,12 @@ struct forward_spec
    /** Connection type.  Must be SOCKS_NONE, SOCKS_4, SOCKS_4A or SOCKS_5. */
    enum forwarder_type type;
 
-   /** SOCKS server hostname.  Only valid if "type" is SOCKS_4 or SOCKS_4A. */
-   char *gateway_host;
-
    /** SOCKS server port. */
    int   gateway_port;
 
+   /** SOCKS server hostname.  Only valid if "type" is SOCKS_4 or SOCKS_4A. */
+   char *gateway_host;
+
    /** SOCKS5 username. */
    char *auth_username;