diff options
author | Joey Hess <joey@kitenet.net> | 2012-07-27 14:06:06 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-07-27 14:06:06 -0400 |
commit | c93b546ebdd4693e2ce32150ca14b5a90e8b09ba (patch) | |
tree | be74a36b7d735d3435f602374ec900050e578a2b /Utility/WebApp.hs | |
parent | f1f90cb30b5318b3d13c1d401bd81a0747ec7b40 (diff) |
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.)
Diffstat (limited to 'Utility/WebApp.hs')
-rw-r--r-- | Utility/WebApp.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/WebApp.hs b/Utility/WebApp.hs index 517251a7a..69864dc6d 100644 --- a/Utility/WebApp.hs +++ b/Utility/WebApp.hs @@ -69,7 +69,7 @@ localSocket = do go $ Prelude.head addrs where hints = defaultHints - { addrFlags = [AI_ADDRCONFIG, AI_NUMERICSERV] + { addrFlags = [AI_ADDRCONFIG] , addrSocketType = Stream } go addr = bracketOnError (open addr) close (use addr) |