From 3a00692ef88fd7c15c201e52cc376b373ee5d9a0 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Fri, 29 Aug 2014 22:44:05 +0100 Subject: Add asyncftpclient module. --- lib/pure/httpclient.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/pure/httpclient.nim') diff --git a/lib/pure/httpclient.nim b/lib/pure/httpclient.nim index 9bacc80d6..4db6ac6ed 100644 --- a/lib/pure/httpclient.nim +++ b/lib/pure/httpclient.nim @@ -654,8 +654,7 @@ when isMainModule: resp = await client.request("http://nimrod-lang.org/download.html") echo("Got response: ", resp.status) - asyncCheck main() - runForever() + waitFor main() else: #downloadFile("http://force7.de/nimrod/index.html", "nimrodindex.html") -- cgit 1.4.1-2-gfad0