mirror of
https://github.com/status-im/nim-chronos.git
synced 2025-01-21 08:49:45 +00:00
fix int set construction (#335)
This commit is contained in:
parent
75d030ff71
commit
5d0c725463
@ -1381,7 +1381,7 @@ else:
|
||||
let err = osLastError()
|
||||
if int(err) == EINTR:
|
||||
continue
|
||||
elif int(err) in {ECONNRESET}:
|
||||
elif int(err) == ECONNRESET:
|
||||
transp.state.incl({ReadEof, ReadPaused})
|
||||
try:
|
||||
transp.fd.removeReader()
|
||||
|
Loading…
x
Reference in New Issue
Block a user