diff options
author | Denis Vlasenko | 2009-03-08 23:46:48 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-03-08 23:46:48 +0000 |
commit | 5e4fda0affaa0a80a5ff33dd72c702b8f905be33 (patch) | |
tree | 9e31fd173276aa6c8e03ba70511c72fe8550e68a /networking/udhcp | |
parent | bf9d17949ee8b5ba8bbfdcd9a78b9a12fb122b63 (diff) | |
download | busybox-5e4fda0affaa0a80a5ff33dd72c702b8f905be33.zip busybox-5e4fda0affaa0a80a5ff33dd72c702b8f905be33.tar.gz |
ftpd: code chrink, fixed some minor bugs
ls: update comment
*: openlog fixes (added LOG_PID, set LOG_DAEMON as appropriate)
function old new delta
xwrite_str - 26 +26
cmdio_write_ok - 15 +15
handle_cwd 40 45 +5
packed_usage 25668 25670 +2
cmdio_write_raw 7 9 +2
handle_upload_common 322 320 -2
udhcpd_main 1375 1372 -3
udhcpc_main 2362 2359 -3
port_cleanup 27 23 -4
handle_dir_common 221 209 -12
str_netfd_write 26 - -26
cmdio_get_cmd_and_arg 122 - -122
ftpd_main 2208 2050 -158
------------------------------------------------------------------------------
text data bss dec hex filename
809933 476 7864 818273 c7c61 busybox_old
809199 476 7864 817539 c7983 busybox_unstripped
Diffstat (limited to 'networking/udhcp')
-rw-r--r-- | networking/udhcp/dhcpc.c | 2 | ||||
-rw-r--r-- | networking/udhcp/dhcpd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index da58a5a..903f3d3 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c @@ -284,7 +284,7 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv) } #endif if (opt & OPT_S) { - openlog(applet_name, LOG_PID, LOG_LOCAL0); + openlog(applet_name, LOG_PID, LOG_DAEMON); logmode |= LOGMODE_SYSLOG; } diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index ebf3017..15b31eb 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c @@ -53,7 +53,7 @@ int udhcpd_main(int argc UNUSED_PARAM, char **argv) } if (opt & 2) { /* -S */ - openlog(applet_name, LOG_PID, LOG_LOCAL0); + openlog(applet_name, LOG_PID, LOG_DAEMON); logmode |= LOGMODE_SYSLOG; } #if ENABLE_FEATURE_UDHCP_PORT |