miscellaneous: fixed current misspell-check's findings

Reference(s):
https://github.com/lyda/misspell-check

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2013-03-11 00:00:00 -06:00
committed by Jaromir Capik
parent fe75e26ab6
commit fac3b34ff9
4 changed files with 4 additions and 4 deletions

2
w.c
View File

@@ -198,7 +198,7 @@ static void print_from(const utmp_t *restrict const u, const int ip_addresses, c
if (!inet_ntop(AF_INET6, &ut_addr_v6, buf_ipv6, sizeof(buf_ipv6))) {
strcpy(buf, ""); /* invalid address, clean the buffer */
} else {
strncpy(buf, buf_ipv6, fromlen); /* adress valid, copy to buffer */
strncpy(buf, buf_ipv6, fromlen); /* address valid, copy to buffer */
}
} else {
/* IPv4 */