summaryrefslogtreecommitdiff
path: root/lib/getusershell.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/getusershell.c')
-rw-r--r--lib/getusershell.c2
1 files changed, 1 insertions, 1 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;