summary refs log tree commit diff stats
path: root/lib/pure/nativesockets.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/nativesockets.nim')
-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,