summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2014-09-09 15:58:44 +0100
committerDominik Picheta <dominikpicheta@googlemail.com>2014-09-09 15:58:44 +0100
commit00b6a144894945d92fe3747fdf9bad32a4aec8d8 (patch)
treee4ed8822d9c366f092ede0ec08e6813c82b1c0ae /lib/pure
parent4fc8fcf37c61529e2c9ad2827df18254a0fc8fd2 (diff)
downloadNim-00b6a144894945d92fe3747fdf9bad32a4aec8d8.tar.gz
More empty stmt fixes.
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/asynchttpserver.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pure/asynchttpserver.nim b/lib/pure/asynchttpserver.nim
index 70a865ed5..931a0c15a 100644
--- a/lib/pure/asynchttpserver.nim
+++ b/lib/pure/asynchttpserver.nim
@@ -183,6 +183,7 @@ proc processClient(client: PAsyncSocket, address: string,
       # header states otherwise.
       # In HTTP 1.0 we assume that the connection should not be persistent.
       # Unless the connection header states otherwise.
+      discard
     else:
       request.client.close()
       break