Skip to content

Commit 724b6ed

Browse files
committed
SockAddr also has a SockAddrCan constructor nowadays.
This will unfortunately produce a 'pattern matches are overlapped' warning with older versions of network.
1 parent eb5ffb2 commit 724b6ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/System/IO/Streams/Network/HAProxy.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,4 +359,5 @@ addrFamily s = case s of
359359
_ -> error "unknown family"
360360
#else
361361
(N.SockAddrUnix _ ) -> N.AF_UNIX
362+
_ -> error "unknown family"
362363
#endif

0 commit comments

Comments
 (0)