A bit of reformatting to match the standard style

This commit is contained in:
Jeremy Hylton 2001-10-10 03:33:24 +00:00
parent f86d63e4f0
commit ab0064574b
1 changed files with 7 additions and 7 deletions

View File

@ -2579,11 +2579,11 @@ PySocket_ssl(PyObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "O!zz:ssl", if (!PyArg_ParseTuple(args, "O!zz:ssl",
&PySocketSock_Type, (PyObject*)&Sock, &PySocketSock_Type, (PyObject*)&Sock,
&key_file, &cert_file) ) &key_file, &cert_file))
return NULL; return NULL;
rv = newSSLObject(Sock, key_file, cert_file); rv = newSSLObject(Sock, key_file, cert_file);
if ( rv == NULL ) if (rv == NULL)
return NULL; return NULL;
return (PyObject *)rv; return (PyObject *)rv;
} }
@ -2607,11 +2607,11 @@ SSL_issuer(SSLObject *self, PyObject *args)
/* SSL object methods */ /* SSL object methods */
static PyMethodDef SSLMethods[] = { static PyMethodDef SSLMethods[] = {
{ "write", (PyCFunction)SSL_SSLwrite, 1 }, {"write", (PyCFunction)SSL_SSLwrite, 1},
{ "read", (PyCFunction)SSL_SSLread, 1 }, {"read", (PyCFunction)SSL_SSLread, 1},
{ "server", (PyCFunction)SSL_server, 1 }, {"server", (PyCFunction)SSL_server, 1},
{ "issuer", (PyCFunction)SSL_issuer, 1 }, {"issuer", (PyCFunction)SSL_issuer, 1},
{ NULL, NULL} {NULL, NULL}
}; };
static void SSL_dealloc(SSLObject *self) static void SSL_dealloc(SSLObject *self)