Skip to content

Commit 81aa96a

Browse files
committed
Address review
1 parent 45894e0 commit 81aa96a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Modules/_ssl.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5792,10 +5792,12 @@ sslmodule_init_constants(PyObject *m)
57925792
return -1;
57935793
}
57945794

5795-
#define _PyModule_ADD_INT_CONST(module, name, value) \
5796-
if (PyModule_AddIntConstant(module, name, value) < 0) { \
5797-
return -1; \
5798-
}
5795+
#define _PyModule_ADD_INT_CONST(MODULE, NAME, VALUE) \
5796+
do {
5797+
if (PyModule_AddIntConstant(MODULE, NAME, VALUE) < 0) { \
5798+
return -1; \
5799+
} \
5800+
} while (0)
57995801

58005802
_PyModule_ADD_INT_CONST(m, "SSL_ERROR_ZERO_RETURN",
58015803
PY_SSL_ERROR_ZERO_RETURN);

0 commit comments

Comments
 (0)