Rearrange members of struct reusable_connection
authorFabian Keil <fk@fabiankeil.de>
Thu, 21 Jan 2021 10:25:39 +0000 (11:25 +0100)
committerFabian Keil <fk@fabiankeil.de>
Thu, 21 Jan 2021 12:59:23 +0000 (13:59 +0100)
... to save 4 bytes of padding on amd64.

project.h

index 191fe35..3f6f588 100644 (file)
--- a/project.h
+++ b/project.h
@@ -764,13 +764,14 @@ struct reusable_connection
    char *host;
    int  port;
    enum forwarder_type forwarder_type;
-   char *gateway_host;
+   char *forward_host;
+   int  forward_port;
+
    int  gateway_port;
+   char *gateway_host;
    char *auth_username;
    char *auth_password;
 
-   char *forward_host;
-   int  forward_port;
 };