aboutsummaryrefslogtreecommitdiff
path: root/networking/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/httpd.c')
-rw-r--r--networking/httpd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index a0a4abc10..1757e09c9 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1025,7 +1025,7 @@ static void log_and_exit(void)
*/
if (verbose > 2)
- bb_error_msg("closed");
+ bb_simple_error_msg("closed");
_exit(xfunc_error_retval);
}
@@ -1220,7 +1220,7 @@ static void send_headers(unsigned responseNum)
}
if (full_write(STDOUT_FILENO, iobuf, len) != len) {
if (verbose > 1)
- bb_perror_msg("error");
+ bb_simple_perror_msg("error");
log_and_exit();
}
}
@@ -1838,7 +1838,7 @@ static NOINLINE void send_file_and_exit(const char *url, int what)
if (count < 0) {
IF_FEATURE_USE_SENDFILE(fin:)
if (verbose > 1)
- bb_perror_msg("error");
+ bb_simple_perror_msg("error");
}
log_and_exit();
}
@@ -2149,7 +2149,7 @@ static void handle_incoming_and_exit(const len_and_sockaddr *fromAddr)
if (rmt_ip_str)
applet_name = rmt_ip_str;
if (verbose > 2)
- bb_error_msg("connected");
+ bb_simple_error_msg("connected");
}
if_ip_denied_send_HTTP_FORBIDDEN_and_exit(remote_ip);
@@ -2746,7 +2746,7 @@ int httpd_main(int argc UNUSED_PARAM, 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_simple_perror_msg_and_die("setgroups");
xsetgid(ugid.gid);
}
xsetuid(ugid.uid);