]> granicus.if.org Git - curl/commit
socks.c: align SOCKS4 connection sequence with SOCKS5
authorMarc Hoersken <info@marc-hoersken.de>
Sat, 20 Aug 2016 19:12:34 +0000 (21:12 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Sat, 20 Aug 2016 19:15:00 +0000 (21:15 +0200)
commit213c27e487a4953a4b8006a8c520012b25ee22ae
tree5e394535f2423bb23553060e47a21ab32ef03408
parentc6b869ec79fb1a6a4882cef9f2697ee14fb78026
socks.c: align SOCKS4 connection sequence with SOCKS5

Calling sscanf is not required since the raw IPv4 address is
available and the protocol can be detected using ai_family.
lib/socks.c