aboutsummaryrefslogtreecommitdiff
path: root/gshadow/fgetsgent_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'gshadow/fgetsgent_r.c')
-rw-r--r--gshadow/fgetsgent_r.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gshadow/fgetsgent_r.c b/gshadow/fgetsgent_r.c
index 7ecfb217e3..19a663f048 100644
--- a/gshadow/fgetsgent_r.c
+++ b/gshadow/fgetsgent_r.c
@@ -61,11 +61,11 @@ __fgetsgent_r (FILE *stream, struct sgrp *resbuf, char *buffer, size_t buflen,
/* Skip leading blanks. */
while (isspace (*p))
++p;
- } while (*p == '\0' || *p == '#' || /* Ignore empty and comment lines. */
+ } while (*p == '\0' || *p == '#' /* Ignore empty and comment lines. */
/* Parse the line. If it is invalid, loop to
get the next line of the file to parse. */
- ! parse_line (buffer, (void *) resbuf, (void *) buffer, buflen,
- &errno));
+ || ! parse_line (buffer, (void *) resbuf, (void *) buffer, buflen,
+ &errno));
_IO_funlockfile (stream);