aboutsummaryrefslogtreecommitdiff
path: root/networking/httpd.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-21 14:41:33 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-21 14:41:33 +0000
commitd73cbd31a295ac757e59f129f162d9cd69440224 (patch)
tree53d9c4cff7223be124698ec8cc3ccba4bded52eb /networking/httpd.c
parenta53de7f7c2cd3ac46b26642aafb1a573a096a80d (diff)
downloadbusybox-w32-d73cbd31a295ac757e59f129f162d9cd69440224.tar.gz
busybox-w32-d73cbd31a295ac757e59f129f162d9cd69440224.tar.bz2
busybox-w32-d73cbd31a295ac757e59f129f162d9cd69440224.zip
- first pass to unify/cleanup uid handling (-236b)
This needs further love, alot of love.. Tito?
Diffstat (limited to 'networking/httpd.c')
-rw-r--r--networking/httpd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index f7e044d27..8c4242e44 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -2351,9 +2351,7 @@ int httpd_main(int argc UNUSED_PARAM, char **argv)
2351#endif 2351#endif
2352#if ENABLE_FEATURE_HTTPD_SETUID 2352#if ENABLE_FEATURE_HTTPD_SETUID
2353 if (opt & OPT_SETUID) { 2353 if (opt & OPT_SETUID) {
2354 if (!get_uidgid(&ugid, s_ugid, 1)) 2354 xget_uidgid(&ugid, s_ugid);
2355 bb_error_msg_and_die("unknown user[:group] "
2356 "name '%s'", s_ugid);
2357 } 2355 }
2358#endif 2356#endif
2359 2357