diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-12 22:14:34 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-12 22:14:34 +0000 |
commit | 4e6d5117b839cef41cd3919966f95bf25d24d8d9 (patch) | |
tree | 277c292905fefcdf40530c8c29e87d6b8c5f7864 /networking/tftp.c | |
parent | 4e6c8120a53709c4a352db42e997303844c74584 (diff) | |
download | busybox-w32-4e6d5117b839cef41cd3919966f95bf25d24d8d9.tar.gz busybox-w32-4e6d5117b839cef41cd3919966f95bf25d24d8d9.tar.bz2 busybox-w32-4e6d5117b839cef41cd3919966f95bf25d24d8d9.zip |
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 737ae7893..6cad295e3 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -127,7 +127,7 @@ static int tftp( USE_GETPUT(const int cmd,) | |||
127 | char *cp; | 127 | char *cp; |
128 | 128 | ||
129 | unsigned org_port; | 129 | unsigned org_port; |
130 | len_and_sockaddr *const from = alloca(offsetof(len_and_sockaddr, u.sa) + peer_lsa->len); | 130 | len_and_sockaddr *const from = alloca(LSA_LEN_SIZE + peer_lsa->len); |
131 | 131 | ||
132 | /* Can't use RESERVE_CONFIG_BUFFER here since the allocation | 132 | /* Can't use RESERVE_CONFIG_BUFFER here since the allocation |
133 | * size varies meaning BUFFERS_GO_ON_STACK would fail */ | 133 | * size varies meaning BUFFERS_GO_ON_STACK would fail */ |