summaryrefslogtreecommitdiffstats
path: root/Modules/cPickle.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-07-18 20:58:57 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-07-18 20:58:57 (GMT)
commit7fa4bfa1732781700c851db5386a2ef5c9406b9d (patch)
tree0f0498b297803dd4f5f084375321ae922ecb281f /Modules/cPickle.c
parentaf4c12f4c3cf69d3868c7d03543e3ac39e46d5f5 (diff)
downloadcpython-7fa4bfa1732781700c851db5386a2ef5c9406b9d.zip
cpython-7fa4bfa1732781700c851db5386a2ef5c9406b9d.tar.gz
cpython-7fa4bfa1732781700c851db5386a2ef5c9406b9d.tar.bz2
Fix indentation.
Diffstat (limited to 'Modules/cPickle.c')
-rw-r--r--Modules/cPickle.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/cPickle.c b/Modules/cPickle.c
index af42484..a43d7b9 100644
--- a/Modules/cPickle.c
+++ b/Modules/cPickle.c
@@ -378,12 +378,12 @@ write_file(Picklerobject *self, char *s, int n)
}
Py_BEGIN_ALLOW_THREADS
- nbyteswritten = fwrite(s, sizeof(char), n, self->fp);
+ nbyteswritten = fwrite(s, sizeof(char), n, self->fp);
Py_END_ALLOW_THREADS
- if (nbyteswritten != (size_t)n) {
- PyErr_SetFromErrno(PyExc_IOError);
- return -1;
- }
+ if (nbyteswritten != (size_t)n) {
+ PyErr_SetFromErrno(PyExc_IOError);
+ return -1;
+ }
return n;
}