more of pointless whitespace fixes

This commit is contained in:
Denis Vlasenko
2009-04-01 19:48:05 +00:00
parent bd79c3d337
commit 551ffdccea
8 changed files with 31 additions and 32 deletions

View File

@@ -67,7 +67,7 @@ struct dhcpOfferedAddr* FAST_FUNC add_lease(
if (hostname_length > sizeof(oldest->hostname))
hostname_length = sizeof(oldest->hostname);
hostname = (uint8_t*) safe_strncpy((char*)oldest->hostname, (char*)hostname, hostname_length);
/* sanitization (s/non-ACSII/^/g) */
/* sanitization (s/non-ASCII/^/g) */
while (*hostname) {
if (*hostname < ' ' || *hostname > 126)
*hostname = '^';