Skip to content

Commit cb2aed3

Browse files
korliencukou
andauthored
Modules/socketmodule.c: style
Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent f073cff commit cb2aed3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Modules/socketmodule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3521,8 +3521,9 @@ sock_connect_ex(PySocketSockObject *s, PyObject *addro)
35213521
}
35223522

35233523
res = internal_connect(s, SAS2SA(&addrbuf), addrlen, 0);
3524-
if (res == -1 && PyErr_Occurred())
3524+
if (res == -1 && PyErr_Occurred()) {
35253525
return NULL;
3526+
}
35263527

35273528
return PyLong_FromLong((long) res);
35283529
}

0 commit comments

Comments
 (0)