ftp-client: Try all the addresses returned by `getaddrinfo'.
authorLudovic Courtès <ludo@gnu.org>
Sat, 13 Oct 2012 19:18:16 +0000 (21:18 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 13 Oct 2012 19:18:16 +0000 (21:18 +0200)
commit4004f95379acf963529c8693452b78164de8febe
tree7b736d5e48646913b332be64382fb2d939d690b1
parent568717fd903557ff7e5937f5e1350e10a7dc019f
ftp-client: Try all the addresses returned by `getaddrinfo'.

* guix/ftp-client.scm (ftp-open): Upon connection failure, try the other
  addresses returned by `getaddrinfo'.
guix/ftp-client.scm