Skip to content

Commit b1df8f2

Browse files
committed
fix for Linux.
1 parent 7ff9f9f commit b1df8f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Network/Socket/Unix.hsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ getPeerCredential _ = return (Nothing, Nothing, Nothing)
7575
getPeerCred :: Socket -> IO (CUInt, CUInt, CUInt)
7676
#ifdef HAVE_STRUCT_UCRED_SO_PEERCRED
7777
getPeerCred s = do
78-
let opt = SockOpt ((#const SOL_SOCKET),(#const SO_PEERCRED))
78+
let opt = SockOpt (#const SOL_SOCKET) (#const SO_PEERCRED)
7979
PeerCred cred <- getSockOpt s opt
8080
return cred
8181

0 commit comments

Comments
 (0)