commit | a811c38d8e822c23d899dec64a12cd025b01e65e | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Thu Oct 19 11:00:37 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Thu Oct 19 11:00:37 2006 +0000 |
tree | 520ef6f9e855ffefb1c987287bc5105f718aedd2 | |
parent | aac1316222c7e4a073af1634f2eef0a872a3dafb [diff] [blame] |
Fix various minor errors in passing arguments to PyArg_ParseTuple.
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 3b91b24..f1e1092 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c
@@ -317,7 +317,7 @@ if (!PyArg_ParseTuple(args, "O!|zz:ssl", PySocketModule.Sock_Type, - (PyObject*)&Sock, + &Sock, &key_file, &cert_file)) return NULL;