diff --git a/nimsuggest/nimsuggest.nim b/nimsuggest/nimsuggest.nim index b61dfe797e..aa45a64e9a 100644 --- a/nimsuggest/nimsuggest.nim +++ b/nimsuggest/nimsuggest.nim @@ -353,7 +353,7 @@ proc replEpc(x: ThreadParams) {.thread.} = echo port stdout.flushFile() - var client = newSocket() + var client: Socket # Wait for connection accept(server, client) while true: