diff options
author | André Goddard Rosa <andre.goddard@gmail.com> | 2010-01-30 22:46:25 -0200 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-05-17 09:34:13 -0700 |
commit | a910abcd194830d2d113b3e183eb7df4d36cd92e (patch) | |
tree | 291303f658796db61bcbf9b8107b3a88a4f83c79 /libc/stdio/fgets.c | |
parent | 1297428e89ead45849068989d334d8b7eae2f602 (diff) | |
download | bionic-a910abcd194830d2d113b3e183eb7df4d36cd92e.zip bionic-a910abcd194830d2d113b3e183eb7df4d36cd92e.tar.gz bionic-a910abcd194830d2d113b3e183eb7df4d36cd92e.tar.bz2 |
improve readability of stdio: fix indentation and remove trailing spaces
Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Diffstat (limited to 'libc/stdio/fgets.c')
-rw-r--r-- | libc/stdio/fgets.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/stdio/fgets.c b/libc/stdio/fgets.c index 99bdac9..f26385d 100644 --- a/libc/stdio/fgets.c +++ b/libc/stdio/fgets.c @@ -63,12 +63,12 @@ fgets(char *buf, int n, FILE *fp) /* EOF/error: stop with partial or no line */ if (s == buf) return (NULL); - break; - } + break; + } } len = fp->_r; p = fp->_p; - + /* * Scan through at most n bytes of the current buffer, * looking for '\n'. If found, copy up to and including |