From 32ba28b1225c54c850c48814b018e7afcffbd0a5 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 21 Jan 2021 11:22:26 +0100 Subject: [PATCH 1/1] Reorder gateway_host in struct forward_spec to save memory --- project.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project.h b/project.h index eeed8bc4..191fe355 100644 --- 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; -- 2.39.2