Fixed breaking changes introduced by the last commit.

This commit is contained in:
Dominik Picheta
2013-10-24 19:17:45 +01:00
parent 09b6b94509
commit 53752ccaab

View File

@@ -241,7 +241,7 @@ proc asyncSockHandleWrite(h: PObject) =
if PAsyncSocket(h).handleWrite != nil:
PAsyncSocket(h).handleWrite(PAsyncSocket(h))
except EOS, ESSL:
except EOS:
# Most likely the socket closed before the full buffer could be sent to it.
sock.close() # TODO: Provide a handleError for users?
else: