diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2016-08-20 21:38:09 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2016-08-20 21:38:43 +0200 |
commit | b820e40f340f142b8475721538f768d59dc9c353 (patch) | |
tree | 671d16b4ddd4df075d8c308344ff6d22034a9c5c /lib/getinfo.c | |
parent | 670802bd0b88e81490d21accc423957b5dafeffc (diff) |
socks.c: display the hostname returned by the SOCKS5 proxy server
Instead of displaying the requested hostname the one returned
by the SOCKS5 proxy server is used in case of connection error.
The requested hostname is displayed earlier in the connection sequence.
The upper-value of the port is moved to a temporary variable and
replaced with a 0-byte to make sure the hostname is 0-terminated.
Diffstat (limited to 'lib/getinfo.c')
0 files changed, 0 insertions, 0 deletions