Browse Source

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

* guix/store.scm (open-inet-socket): Pass hints in the 'getaddrinfo'
call.
wip-gexp-hygiene
Ludovic Courtès 5 years ago
parent
commit
7ae97a4c3f
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 4
      guix/store.scm

4
guix/store.scm

@ -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

Loading…
Cancel
Save