diff options
-rw-r--r-- | guix/ftp-client.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/ftp-client.scm b/guix/ftp-client.scm index 37feb895a5..e98708ac4d 100644 --- a/guix/ftp-client.scm +++ b/guix/ftp-client.scm @@ -95,7 +95,7 @@ or a TCP port number), and return it." (let loop ((addresses addresses)) (let* ((ai (car addresses)) - (s (socket (addrinfo:fam ai) (addrinfo:socktype ai) + (s (socket (addrinfo:fam ai) SOCK_STREAM ;TCP only (addrinfo:protocol ai)))) (catch 'system-error |