Skip to content

Commit 3c4c900

Browse files
committed
Don't override addrProtocol
1 parent a0a794c commit 3c4c900

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/IServ/Remote/Interpreter.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ startInterpreter' verbose base_path port = do
6363

6464
let addrInfo = defaultHints {
6565
addrFamily = AF_INET,
66-
addrSocketType = Stream,
67-
addrProtocol = -1
66+
addrSocketType = Stream
6867
}
6968
sock <- openSocket addrInfo
7069
setSocketOption sock ReuseAddr 1

0 commit comments

Comments
 (0)