remove bogus AI_NUMERICSERV
Not needed, and causes a segfault on OSX when it tries to dereference the NULL servicename. (Linux handles this case better.)
This commit is contained in:
parent
f1f90cb30b
commit
c93b546ebd
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ localSocket = do
|
||||||
go $ Prelude.head addrs
|
go $ Prelude.head addrs
|
||||||
where
|
where
|
||||||
hints = defaultHints
|
hints = defaultHints
|
||||||
{ addrFlags = [AI_ADDRCONFIG, AI_NUMERICSERV]
|
{ addrFlags = [AI_ADDRCONFIG]
|
||||||
, addrSocketType = Stream
|
, addrSocketType = Stream
|
||||||
}
|
}
|
||||||
go addr = bracketOnError (open addr) close (use addr)
|
go addr = bracketOnError (open addr) close (use addr)
|
||||||
|
|
Loading…
Reference in a new issue