Skip to content

Commit

Permalink
SockAddr also has a SockAddrCan constructor nowadays.
Browse files Browse the repository at this point in the history
This will unfortunately produce a 'pattern matches are overlapped' warning with
older versions of network.
  • Loading branch information
23Skidoo committed Aug 20, 2015
1 parent eb5ffb2 commit 724b6ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/System/IO/Streams/Network/HAProxy.hs
Original file line number Diff line number Diff line change
Expand Up @@ -359,4 +359,5 @@ addrFamily s = case s of
_ -> error "unknown family"
#else
(N.SockAddrUnix _ ) -> N.AF_UNIX
_ -> error "unknown family"
#endif

0 comments on commit 724b6ed

Please sign in to comment.