diff options
-rw-r--r-- | lib/getusershell.c | 2 | ||||
-rw-r--r-- | lib/group-member.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/getusershell.c b/lib/getusershell.c index dfed7a6c4..2f167181c 100644 --- a/lib/getusershell.c +++ b/lib/getusershell.c @@ -177,7 +177,7 @@ readname (name, size, stream) /* Skip blank space. */ while ((c = getc (stream)) != EOF && isspace (c)) /* Do nothing. */ ; - + while (c != EOF && !isspace (c)) { (*name)[name_index++] = c; diff --git a/lib/group-member.c b/lib/group-member.c index 9a079e293..4ca8cb51a 100644 --- a/lib/group-member.c +++ b/lib/group-member.c @@ -120,7 +120,7 @@ group_member (gid) break; } } - + free_group_info (gi); return found; |