Skip to content

Commit 0a3ff18

Browse files
Apply suggestions from code review
Co-authored-by: Erlend E. Aasland <[email protected]>
1 parent b47d864 commit 0a3ff18

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Modules/_ssl.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5788,16 +5788,16 @@ static int
57885788
sslmodule_init_constants(PyObject *m)
57895789
{
57905790
if (PyModule_AddStringConstant(m, "_DEFAULT_CIPHERS",
5791-
PY_SSL_DEFAULT_CIPHER_STRING) < 0) {
5791+
PY_SSL_DEFAULT_CIPHER_STRING) < 0)
5792+
{
57925793
return -1;
57935794
}
57945795

5795-
#define ADD_INT_CONST(NAME, VALUE) \
5796-
do { \
5797-
if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) { \
5798-
return -1; \
5799-
} \
5800-
} while (0)
5796+
#define ADD_INT_CONST(NAME, VALUE) do { \
5797+
if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) { \
5798+
return -1; \
5799+
} \
5800+
} while (0)
58015801

58025802
ADD_INT_CONST("SSL_ERROR_ZERO_RETURN", PY_SSL_ERROR_ZERO_RETURN);
58035803
ADD_INT_CONST("SSL_ERROR_WANT_READ", PY_SSL_ERROR_WANT_READ);

0 commit comments

Comments
 (0)