Fix various minor errors in passing arguments to

PyArg_ParseTuple.
This commit is contained in:
Martin v. Löwis 2006-10-19 11:00:37 +00:00
parent aac1316222
commit a811c38d8e
4 changed files with 27 additions and 16 deletions

View file

@ -317,7 +317,7 @@ PySocket_ssl(PyObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "O!|zz:ssl",
PySocketModule.Sock_Type,
(PyObject*)&Sock,
&Sock,
&key_file, &cert_file))
return NULL;