diff options
author | André Goddard Rosa <andre.goddard@gmail.com> | 2010-01-30 22:28:49 -0200 |
---|---|---|
committer | André Goddard Rosa <andre.goddard@gmail.com> | 2010-01-30 22:28:49 -0200 |
commit | 30a419afc3cdb641e350c7cfde753877675958e0 (patch) | |
tree | b4484c80c91c40584edcba2625c196b36a3bae0c /libc/string/strlcat.c | |
parent | 8f92500fa93d174d077af28d8af3e3cb732e0aff (diff) | |
download | bionic-30a419afc3cdb641e350c7cfde753877675958e0.zip bionic-30a419afc3cdb641e350c7cfde753877675958e0.tar.gz bionic-30a419afc3cdb641e350c7cfde753877675958e0.tar.bz2 |
improve readability of string: fix indentation and remove trailing spaces
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Diffstat (limited to 'libc/string/strlcat.c')
-rw-r--r-- | libc/string/strlcat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/strlcat.c b/libc/string/strlcat.c index ad2215b..ceab094 100644 --- a/libc/string/strlcat.c +++ b/libc/string/strlcat.c @@ -46,9 +46,9 @@ strlcat(char *dst, const char *src, size_t siz) if (n != 1) { *d++ = *s; n--; - } + } s++; - } + } *d = '\0'; return(dlen + (s - src)); /* count does not include NUL */ |