diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 81e9cc908fc..89df463a523 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -2592,7 +2592,6 @@ sock_connect_impl(PySocketSockObject *s, void* Py_UNUSED(data)) if (err != 0) { /* sock_call_ex() uses GET_SOCK_ERROR() to get the error code */ SET_SOCK_ERROR(err); - abort(); return 0; } return 1;