mirror of
https://github.com/python/cpython.git
synced 2026-03-06 04:50:58 +00:00
Whitespace, fix indentation
This commit is contained in:
parent
c661b8821b
commit
0d21b1ed54
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue