From 8e858e2700651a0e973169b579622cd3dcd0defd Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 7 Mar 2007 09:35:43 +0000 Subject: clean up accumulated whitespace damage --- networking/httpd.c | 7 ++++--- networking/ifupdown.c | 2 +- networking/udhcp/domain_codec.c | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'networking') diff --git a/networking/httpd.c b/networking/httpd.c index cb8ab763f..ee408eb14 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -873,8 +873,9 @@ static int sendHeaders(HttpResponseNum responseNum) #if ENABLE_FEATURE_HTTPD_BASIC_AUTH if (responseNum == HTTP_UNAUTHORIZED) { - len += sprintf(buf+len, "WWW-Authenticate: Basic realm=\"%s\"\r\n", - config->realm); + len += sprintf(buf+len, + "WWW-Authenticate: Basic realm=\"%s\"\r\n", + config->realm); } #endif if (responseNum == HTTP_MOVED_TEMPORARILY) { @@ -2000,7 +2001,7 @@ int httpd_main(int argc, char *argv[]) if (opt & OPT_SETUID) { if (ugid.gid != (gid_t)-1) { if (setgroups(1, &ugid.gid) == -1) - bb_perror_msg_and_die("setgroups"); + bb_perror_msg_and_die("setgroups"); xsetgid(ugid.gid); } xsetuid(ugid.uid); diff --git a/networking/ifupdown.c b/networking/ifupdown.c index c7cb85350..8e750feaf 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -421,7 +421,7 @@ static int static_up(struct interface_defn_t *ifd, execfn *exec) result += execute("ifconfig %iface% %address% netmask %netmask%" "[[ broadcast %broadcast%]][[ pointopoint %pointopoint%]] ", ifd, exec); - result += execute("[[route add default gw %gateway% %iface%]]", ifd, exec); + result += execute("[[route add default gw %gateway% %iface%]]", ifd, exec); return ((result == 3) ? 3 : 0); #endif } diff --git a/networking/udhcp/domain_codec.c b/networking/udhcp/domain_codec.c index 6e16ddedc..239ae5b5c 100644 --- a/networking/udhcp/domain_codec.c +++ b/networking/udhcp/domain_codec.c @@ -200,6 +200,6 @@ uint8_t *dname_enc(const uint8_t *cstr, int clen, const char *src, int *retlen) *retlen = d - dname + 1; return dname; -} +} #endif /* ENABLE_FEATURE_RFC3397 */ -- cgit v1.2.3