diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 09:50:03 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 09:50:03 +0300 |
commit | 6d080f12a4ea2b60d07541af6cc363e491e5aa34 (patch) | |
tree | c22a0f8591e4fb5ea4310c33653830a0c84c3a3c /Modules/_ssl.c | |
parent | 58455ad4ed5e6f1eda17ceb0dd7f5612a980e48d (diff) | |
parent | 850c5fb7f500033305e142b3c47fd744fc6a62e5 (diff) | |
download | cpython-6d080f12a4ea2b60d07541af6cc363e491e5aa34.tar.gz |
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r-- | Modules/_ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 8b5b8f7df9..e6e98cd33b 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -378,7 +378,7 @@ fail: } static PyObject * -PySSL_SetError(PySSLSocket *obj, int ret, char *filename, int lineno) +PySSL_SetError(PySSLSocket *obj, int ret, const char *filename, int lineno) { PyObject *type = PySSLErrorObject; char *errstr = NULL; @@ -460,7 +460,7 @@ PySSL_SetError(PySSLSocket *obj, int ret, char *filename, int lineno) } static PyObject * -_setSSLError (char *errstr, int errcode, char *filename, int lineno) { +_setSSLError (const char *errstr, int errcode, const char *filename, int lineno) { if (errstr == NULL) errcode = ERR_peek_last_error(); |