]> granicus.if.org Git - python/commit
Issue #23618: Fix sock_connect_impl(), set the socket error code
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 2 Apr 2015 12:37:20 +0000 (14:37 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 2 Apr 2015 12:37:20 +0000 (14:37 +0200)
commit38aec7525eb22d2ea0090be610d6ababb4c8882f
tree5733f15a509ca0434858ec831c2dd0a2ab260bcf
parent39c0721d7b1872845e1cbb39bbb00eb23571d7c7
Issue #23618: Fix sock_connect_impl(), set the socket error code

sock_call_ex() gets the socket error code when the socket function fails.
sock_connect_impl() didn't set the error correctly.
Modules/socketmodule.c