projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d704a89
)
Don't assume sa.sa_family is a short int.
author
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 15 Apr 2016 09:10:50 +0000
(11:10 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 15 Apr 2016 09:10:50 +0000
(11:10 +0200)
Because FreeBSD's compiler complained about it.
src/protocol_auth.c
patch
|
blob
|
history
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index 2262fbb234acfe2d5cda30eed992208781c47623..0a7ad1ca383ea8c0bf21cd44df7c8e762a7f59dc 100644
(file)
--- a/
src/protocol_auth.c
+++ b/
src/protocol_auth.c
@@
-117,7
+117,7
@@
static bool send_proxyrequest(connection_t *c) {
i += 2;
c->tcplen += 22;
} else {
- logger(DEBUG_ALWAYS, LOG_ERR, "Address family %
h
x not supported for SOCKS 5 proxies!", c->address.sa.sa_family);
+ logger(DEBUG_ALWAYS, LOG_ERR, "Address family %x not supported for SOCKS 5 proxies!", c->address.sa.sa_family);
return false;
}
if(i > len)