ntp: simplifications; libbb: simpler resolution of numeric hostnames
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 24 Nov 2009 06:07:42 +0000 (07:07 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 24 Nov 2009 06:07:42 +0000 (07:07 +0100)
commitca6c7e42f93eb2b0ce246eafd8b0e4ac27414f6b
tree05b52babec2451c1e7ef62e02a59ea30317eeaf8
parent887d96303725d784e245c6562cf9fd5583b37224
ntp: simplifications; libbb: simpler resolution of numeric hostnames

function                                             old     new   delta
str2sockaddr                                         405     567    +162
ntp_init                                             310     317      +7
scale_interval                                        58      59      +1
error_interval                                        22      23      +1
ntpd_main                                           3257    3214     -43
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/1 up/down: 171/-43)           Total: 128 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/xconnect.c
networking/ntpd.c