]> granicus.if.org Git - python/commit
Issue #24732, #23834: Fix sock_accept_impl() on Windows
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 27 Jul 2015 21:37:11 +0000 (23:37 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 27 Jul 2015 21:37:11 +0000 (23:37 +0200)
commitbea232a15fc818341217901772c7e622e9f9332d
treec53ef76ea843968d63c3bdf8563a4f731441cf57
parent0659c43d73e5d9ce4540c53f76b66ddb904be6de
Issue #24732, #23834: Fix sock_accept_impl() on Windows

accept() returns INVALID_SOCKET on error, it's not necessary a negative number.
Modules/socketmodule.c