diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-05-08 17:33:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 17:33:38 +0200 |
commit | ce16115e790b4fcd6076d0d0f0024a11ce15a2b7 (patch) | |
tree | d0c93b763f9414a1413d055e9da50ba16af23f7b | |
parent | bae8e95b7340af5727aef40859f0cbceb47c38f5 (diff) | |
parent | 73a42ce9410a0cc0c4a91469e6ace2858e26355d (diff) | |
download | Nim-ce16115e790b4fcd6076d0d0f0024a11ce15a2b7.tar.gz |
Merge pull request #14265 from alaviss/quickfix
nativesockets: add missing inheritable pass-through
-rw-r--r-- | lib/pure/nativesockets.nim | 2 |
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, |