diff options
author | Denys Vlasenko | 2015-02-18 13:47:27 +0100 |
---|---|---|
committer | Denys Vlasenko | 2015-02-18 13:47:46 +0100 |
commit | 54e9585e106348d6f0129376171fab305ddc0e27 (patch) | |
tree | d3849ff1bff39a41c648f20beb61a135331a6498 /networking | |
parent | 0cb981c5e2f1a955e72dd9d3d2fad075dc9d0da6 (diff) | |
download | busybox-54e9585e106348d6f0129376171fab305ddc0e27.zip busybox-54e9585e106348d6f0129376171fab305ddc0e27.tar.gz |
trivial code shrink
function old new delta
rdate_main 246 251 +5
show_entry 291 287 -4
daytime_stream 44 39 -5
packed_usage 30176 30168 -8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/3 up/down: 5/-17) Total: -12 bytes
text data bss dec hex filename
929453 932 17684 948069 e7765 busybox_old
929411 932 17684 948027 e773b busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/inetd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/inetd.c b/networking/inetd.c index 584c5e5..b3f2e9f 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -1654,7 +1654,7 @@ static void FAST_FUNC daytime_stream(int s, servtab_t *sep UNUSED_PARAM) { time_t t; - t = time(NULL); + time(&t); fdprintf(s, "%.24s\r\n", ctime(&t)); } static void FAST_FUNC daytime_dg(int s, servtab_t *sep) |