summaryrefslogtreecommitdiff
path: root/openvpn/src/openvpn/socks.c
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn/src/openvpn/socks.c')
-rw-r--r--openvpn/src/openvpn/socks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openvpn/src/openvpn/socks.c b/openvpn/src/openvpn/socks.c
index 804c9836..1551da84 100644
--- a/openvpn/src/openvpn/socks.c
+++ b/openvpn/src/openvpn/socks.c
@@ -396,7 +396,7 @@ port_from_servname(const char* servname)
port = atoi(servname);
if(port >0 && port < 65536)
return port;
-
+
struct servent* service;
service = getservbyname(servname, NULL);
if(service)
@@ -436,7 +436,7 @@ establish_socks_proxy_passthru (struct socks_proxy_info *p,
msg (D_LINK_ERRORS, "establish_socks_proxy_passthrough: Cannot convert %s to port number", servname);
goto error;
}
-
+
buf[5 + len] = (char) (port >> 8);
buf[5 + len + 1] = (char) (port & 0xff);
@@ -448,7 +448,7 @@ establish_socks_proxy_passthru (struct socks_proxy_info *p,
goto error;
}
}
-
+
/* receive reply from Socks proxy and discard */
if (!recv_socks_reply (sd, NULL, signal_received))