From 14124cf188178e816c6276431274f129ef911ca8 Mon Sep 17 00:00:00 2001 From: cheatfate Date: Thu, 7 Jun 2018 00:35:32 +0300 Subject: [PATCH] Fix Unix compilation error. --- asyncdispatch2/transports/stream.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/asyncdispatch2/transports/stream.nim b/asyncdispatch2/transports/stream.nim index 3860be6..c78949c 100644 --- a/asyncdispatch2/transports/stream.nim +++ b/asyncdispatch2/transports/stream.nim @@ -663,8 +663,7 @@ else: let sock = wrapAsyncSocket(res) if sock != asyncInvalidSocket: discard server.function(server, - newStreamSocketTransport(sock, server.bufferSize), - server.udata) + newStreamSocketTransport(sock, server.bufferSize)) break else: let err = osLastError()