aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1997-09-15 19:37:23 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1997-09-15 19:37:23 +0000
commit211fed7e35188dc914fbc6918da0d2836f52ed86 (patch)
tree9e9e38dfb2ce379db311f6d20f2b166faaa0a89f /lib
parent753da330422fe3d62c6728caf6f48ef596223875 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getpwent.c8
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;