From 73a42ce9410a0cc0c4a91469e6ace2858e26355d Mon Sep 17 00:00:00 2001 From: Leorize Date: Thu, 7 May 2020 14:43:53 -0500 Subject: [PATCH] nativesockets: add missing inheritable pass-through --- lib/pure/nativesockets.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/nativesockets.nim b/lib/pure/nativesockets.nim index 8d0d6426df..45ea932356 100644 --- a/lib/pure/nativesockets.nim +++ b/lib/pure/nativesockets.nim @@ -231,7 +231,7 @@ proc createNativeSocket*(domain: Domain = AF_INET, ## ## `inheritable` decides if the resulting SocketHandle can be inherited ## by child processes. - createNativeSocket(toInt(domain), toInt(sockType), toInt(protocol)) + createNativeSocket(toInt(domain), toInt(sockType), toInt(protocol), inheritable) proc newNativeSocket*(domain: Domain = AF_INET, sockType: SockType = SOCK_STREAM,