projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66b1e23
)
Reorder gateway_host in struct forward_spec to save memory
author
Fabian Keil
<fk@fabiankeil.de>
Thu, 21 Jan 2021 10:22:26 +0000
(11:22 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Thu, 21 Jan 2021 12:59:22 +0000
(13:59 +0100)
project.h
patch
|
blob
|
history
diff --git
a/project.h
b/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;