summaryrefslogtreecommitdiff
path: root/networking/httpd.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-07 09:35:43 +0000
committerDenis Vlasenko2007-03-07 09:35:43 +0000
commit8e858e2700651a0e973169b579622cd3dcd0defd (patch)
tree4829004760bedec63aa8a72affe75591e482fe4a /networking/httpd.c
parent41cca2b4f54a2c8dadd2469747aca91d891c0b15 (diff)
downloadbusybox-8e858e2700651a0e973169b579622cd3dcd0defd.zip
busybox-8e858e2700651a0e973169b579622cd3dcd0defd.tar.gz
clean up accumulated whitespace damage
Diffstat (limited to 'networking/httpd.c')
-rw-r--r--networking/httpd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index cb8ab76..ee408eb 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);