[Privoxy-commits] [privoxy] 04/17: Rearrange members of struct reusable_connection

User Git git at git.privoxy.org
Thu Jan 21 13:03:31 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 2c4bb864aa69ff3c48350db30785dc2245278db6
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Thu Jan 21 11:25:39 2021 +0100

    Rearrange members of struct reusable_connection
    
    ... to save 4 bytes of padding on amd64.
---
 project.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/project.h b/project.h
index 191fe355..3f6f588d 100644
--- 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;
 };
 
 

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


More information about the Privoxy-commits mailing list