diff Modules/socketmodule.c @ 20359:e191ceee672f legacy-trunk

A bit of reformatting to match the standard style
author Jeremy Hylton <jeremy@alum.mit.edu>
date Wed, 10 Oct 2001 03:33:24 +0000
parents 98f597a17c90
children 8a09c855f957
line wrap: on
line diff
--- a/Modules/socketmodule.c	Wed Oct 10 03:19:39 2001 +0000
+++ b/Modules/socketmodule.c	Wed Oct 10 03:33:24 2001 +0000
@@ -2579,11 +2579,11 @@
 
 	if (!PyArg_ParseTuple(args, "O!zz:ssl",
 			      &PySocketSock_Type, (PyObject*)&Sock,
-			      &key_file, &cert_file) )
+			      &key_file, &cert_file))
 		return NULL;
 
 	rv = newSSLObject(Sock, key_file, cert_file);
-	if ( rv == NULL )
+	if (rv == NULL)
 		return NULL;
 	return (PyObject *)rv;
 }
@@ -2607,11 +2607,11 @@
 /* SSL object methods */
 
 static PyMethodDef SSLMethods[] = {
-	{ "write", (PyCFunction)SSL_SSLwrite, 1 },
-	{ "read", (PyCFunction)SSL_SSLread, 1 },
-	{ "server", (PyCFunction)SSL_server, 1 },
-	{ "issuer", (PyCFunction)SSL_issuer, 1 },
-	{ NULL, NULL}
+	{"write", (PyCFunction)SSL_SSLwrite, 1},
+	{"read", (PyCFunction)SSL_SSLread, 1},
+	{"server", (PyCFunction)SSL_server, 1},
+	{"issuer", (PyCFunction)SSL_issuer, 1},
+	{NULL, NULL}
 };
 
 static void SSL_dealloc(SSLObject *self)