summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-02-07 06:59:20 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-02-07 06:59:20 (GMT)
commit19cbcad20e3672ffe42e5710843f0df3de3f3b8c (patch)
tree3f2efb55e4a2ca101db27da28e592f39e6736059 /Modules/_ssl.c
parent02876df9de428c88f288808ec5c302419d79b8e6 (diff)
downloadcpython-19cbcad20e3672ffe42e5710843f0df3de3f3b8c.zip
cpython-19cbcad20e3672ffe42e5710843f0df3de3f3b8c.tar.gz
cpython-19cbcad20e3672ffe42e5710843f0df3de3f3b8c.tar.bz2
Fix indentation (whitespace only).
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index fd5e2c6..b8097e1 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -266,7 +266,7 @@ newPySSLObject(PySocketSockObject *Sock, char *key_file, char *cert_file)
} else {
sockstate = SOCKET_OPERATION_OK;
}
- if (sockstate == SOCKET_HAS_TIMED_OUT) {
+ if (sockstate == SOCKET_HAS_TIMED_OUT) {
PyErr_SetString(PySSLErrorObject, "The connect operation timed out");
goto fail;
} else if (sockstate == SOCKET_HAS_BEEN_CLOSED) {
@@ -426,7 +426,7 @@ static PyObject *PySSL_SSLwrite(PySSLObject *self, PyObject *args)
} else {
sockstate = SOCKET_OPERATION_OK;
}
- if (sockstate == SOCKET_HAS_TIMED_OUT) {
+ if (sockstate == SOCKET_HAS_TIMED_OUT) {
PyErr_SetString(PySSLErrorObject, "The write operation timed out");
return NULL;
} else if (sockstate == SOCKET_HAS_BEEN_CLOSED) {
@@ -485,7 +485,7 @@ static PyObject *PySSL_SSLread(PySSLObject *self, PyObject *args)
} else {
sockstate = SOCKET_OPERATION_OK;
}
- if (sockstate == SOCKET_HAS_TIMED_OUT) {
+ if (sockstate == SOCKET_HAS_TIMED_OUT) {
PyErr_SetString(PySSLErrorObject, "The read operation timed out");
Py_DECREF(buf);
return NULL;