diff options
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/getpwent.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c index c75323215fd4..9a19a15bc1c7 100644 --- a/lib/libc/gen/getpwent.c +++ b/lib/libc/gen/getpwent.c @@ -294,12 +294,12 @@ __hashpw(key) return(0); p = (char *)data.data; - /* increase buffer size for long lines if necessary */ + /* Increase buffer size for long lines if necessary. */ if (data.size > max) { max = data.size + 1024; - if (!(line = realloc(line, max))) - return(0); - } + if (!(line = realloc(line, max))) + return(0); + } /* THIS CODE MUST MATCH THAT IN pwd_mkdb. */ t = line; |
