Unobvious code execution order. Minor fix. Fixes #5713

This commit is contained in:
Alexander Cherniuk 2010-04-23 15:08:42 +03:00
parent 8209f4543d
commit 08eb94ed61
1 changed files with 1 additions and 0 deletions

View File

@ -342,6 +342,7 @@ class NonBlockingTCP(NonBlockingTransport, IdleObject):
# variable for errno symbol that will be found from exception raised
# from connect()
errnum = 0
errstr = str()
# set timeout for TCP connecting - if nonblocking connect() fails, pollend
# is called. If if succeeds pollout is called.