diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-07-22 17:43:59 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-07-22 17:43:59 +0200 |
commit | 524714eeda70de01046e3b4736516f41d7d11010 (patch) | |
tree | ce1ee1d3cfad2a646f46d1581a677ba4c4ccde4f /Lib/logging/handlers.py | |
parent | 0cec877230a9232378eb2c7e21348029bbe83fea (diff) | |
download | cpython-git-524714eeda70de01046e3b4736516f41d7d11010.tar.gz |
socket: use INVALID_SOCKET
* Replace "fd = -1" with "fd = INVALID_SOCKET"
* Replace "fd < 0" with "fd == INVALID_SOCKET": SOCKET_T is unsigned on Windows
Bug found by Pavel Belikov ("Fragment N1"):
http://www.viva64.com/en/b/0414/#ID0ECDAE
Diffstat (limited to 'Lib/logging/handlers.py')
0 files changed, 0 insertions, 0 deletions