me
/
guix
Archived
1
0
Fork 0

store: Pass a socket type hint to 'getaddrinfo'.

* guix/store.scm (open-inet-socket): Pass hints in the 'getaddrinfo'
call.
master
Ludovic Courtès 2017-06-21 23:00:08 +02:00
parent ace6cc12d3
commit 7ae97a4c3f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

View File

@ -399,7 +399,9 @@
(if (number? port) (number->string port) port)
(if (number? port)
(logior AI_ADDRCONFIG AI_NUMERICSERV)
AI_ADDRCONFIG)))
AI_ADDRCONFIG)
0 ;any address family
SOCK_STREAM)) ;TCP only
(let loop ((addresses addresses))
(match addresses