summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2020-05-08 17:33:38 +0200
committerGitHub <noreply@github.com>2020-05-08 17:33:38 +0200
commitce16115e790b4fcd6076d0d0f0024a11ce15a2b7 (patch)
treed0c93b763f9414a1413d055e9da50ba16af23f7b
parentbae8e95b7340af5727aef40859f0cbceb47c38f5 (diff)
parent73a42ce9410a0cc0c4a91469e6ace2858e26355d (diff)
downloadNim-ce16115e790b4fcd6076d0d0f0024a11ce15a2b7.tar.gz
Merge pull request #14265 from alaviss/quickfix
nativesockets: add missing inheritable pass-through
-rw-r--r--lib/pure/nativesockets.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/nativesockets.nim b/lib/pure/nativesockets.nim
index 8d0d6426d..45ea93235 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,