improve readability of string: fix indentation and remove trailing spaces

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
This commit is contained in:
André Goddard Rosa
2010-01-30 22:28:49 -02:00
parent 8f92500fa9
commit 30a419afc3
13 changed files with 17 additions and 18 deletions

View File

@@ -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 */