Revert 2d6840b9, "Only set the socket protocol family on success."
commit887d650efe447ce534cc36f92f9c07e25414e8f8
authorKalle Olavi Niemitalo <kon@iki.fi>
Mon, 30 Apr 2007 06:08:20 +0000 (30 09:08 +0300)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Tue, 1 May 2007 11:43:05 +0000 (1 14:43 +0300)
tree2c1db681b1af8ff019ea3431c0a6f1f0e7427f0e
parent7e025e6eb5cf0d8f552f7c2635ec6ba02b20342f
Revert 2d6840b9, "Only set the socket protocol family on success."

Revert commit 2d6840b9bd9d3a7a45a5ad92b4e98ff7224d6d97.  It is causing
passive FTP via IPv6 to fail on ftp.funet.fi.  ELinks sends PASV and
the server says "425 You cannot use PASV on IPv6 connections. Use EPSV
instead."

[ Backported from commit c0f488251fbb8ffc167cc0643a539dc18f2350c0 in
  ELinks 0.12.GIT.  --KON ]
src/network/socket.c