diff options
author | Denis Vlasenko | 2008-03-12 22:14:34 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-03-12 22:14:34 +0000 |
commit | 4e6d5117b839cef41cd3919966f95bf25d24d8d9 (patch) | |
tree | 277c292905fefcdf40530c8c29e87d6b8c5f7864 /networking/tftp.c | |
parent | 4e6c8120a53709c4a352db42e997303844c74584 (diff) | |
download | busybox-4e6d5117b839cef41cd3919966f95bf25d24d8d9.zip busybox-4e6d5117b839cef41cd3919966f95bf25d24d8d9.tar.gz |
inetd: make it NOMMU-capable and IPv6-friendly. Lots of renames
of variable/function names
Total: -2474 bytes
text data bss dec hex filename
802215 661 7452 810328 c5d58 busybox_old
800120 661 7428 808209 c5511 busybox_unstripped
Diffstat (limited to 'networking/tftp.c')
-rw-r--r-- | networking/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index 737ae78..6cad295 100644 --- a/networking/tftp.c +++ b/networking/tftp.c @@ -127,7 +127,7 @@ static int tftp( USE_GETPUT(const int cmd,) char *cp; unsigned org_port; - len_and_sockaddr *const from = alloca(offsetof(len_and_sockaddr, u.sa) + peer_lsa->len); + len_and_sockaddr *const from = alloca(LSA_LEN_SIZE + peer_lsa->len); /* Can't use RESERVE_CONFIG_BUFFER here since the allocation * size varies meaning BUFFERS_GO_ON_STACK would fail */ |