diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-25 13:39:24 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-25 13:39:24 +0100 |
commit | 3581c625151d25d8e1cbc80c44337d398d97cf42 (patch) | |
tree | 86a1abc69a3606e6f595a18d72bd1eb48bc505b3 /networking/udhcp | |
parent | 46685a46bbffc04d507ce756f4b703aae024debd (diff) | |
download | busybox-3581c625151d25d8e1cbc80c44337d398d97cf42.tar.gz |
whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp')
-rw-r--r-- | networking/udhcp/leases.c | 2 | ||||
-rw-r--r-- | networking/udhcp/script.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/leases.c b/networking/udhcp/leases.c index afd41bfd4..78b0d0ade 100644 --- a/networking/udhcp/leases.c +++ b/networking/udhcp/leases.c @@ -66,7 +66,7 @@ struct dyn_lease* FAST_FUNC add_lease( char *p; if (hostname_len > sizeof(oldest->hostname)) hostname_len = sizeof(oldest->hostname); - p = safe_strncpy(oldest->hostname, hostname, hostname_len); + p = safe_strncpy(oldest->hostname, hostname, hostname_len); /* sanitization (s/non-ASCII/^/g) */ while (*p) { if (*p < ' ' || *p > 126) diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c index 065ea0cc7..574c74f45 100644 --- a/networking/udhcp/script.c +++ b/networking/udhcp/script.c @@ -17,7 +17,7 @@ static const uint8_t len_of_option_as_string[] = { [OPTION_IP] = sizeof("255.255.255.255 "), [OPTION_IP_PAIR] = sizeof("255.255.255.255 ") * 2, - [OPTION_STATIC_ROUTES]= sizeof("255.255.255.255/32 255.255.255.255 "), + [OPTION_STATIC_ROUTES]= sizeof("255.255.255.255/32 255.255.255.255 "), [OPTION_STRING] = 1, #if ENABLE_FEATURE_UDHCP_RFC3397 [OPTION_STR1035] = 1, |