diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-20 06:44:42 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-20 06:44:42 (GMT) |
commit | 0d21b1ed54a9c6133ca4b65779647b6d6dde2960 (patch) | |
tree | 8c8a6e71299de8e740d8f610137cbe2faca97a9b /Modules/posixmodule.c | |
parent | c661b8821b3f54576eac98a6964f142874c4a8be (diff) | |
download | cpython-0d21b1ed54a9c6133ca4b65779647b6d6dde2960.zip cpython-0d21b1ed54a9c6133ca4b65779647b6d6dde2960.tar.gz cpython-0d21b1ed54a9c6133ca4b65779647b6d6dde2960.tar.bz2 |
Whitespace, fix indentation
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 4c462a0..4b5842e 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -6816,7 +6816,6 @@ posix_confstr(PyObject *self, PyObject *args) errno = 0; len = confstr(name, buffer, sizeof(buffer)); - if (len == 0) { if (errno) { posix_error(); @@ -6827,7 +6826,7 @@ posix_confstr(PyObject *self, PyObject *args) } } else { - if ((unsigned int)len >= sizeof(buffer)) { + if ((unsigned int)len >= sizeof(buffer)) { result = PyString_FromStringAndSize(NULL, len+1); if (result != NULL) confstr(name, PyString_AS_STRING(result), len+1); |