diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-13 15:27:23 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-13 15:27:23 +0100 |
commit | adc540f0dbcd640b37f39364aa4a1c6857a96a96 (patch) | |
tree | 400e54e15e2320ba443205152146634857b1f1c0 /networking/slattach.c | |
parent | 0c4e5977dfc32b54e452cd88a9cf14afde29c89d (diff) | |
download | busybox-adc540f0dbcd640b37f39364aa4a1c6857a96a96.tar.gz |
tftp: on download, open local file only when first bit of data arrived
No reason to potentially clobber existing file before absolutely necessary.
function old new delta
tftp_protocol 1947 2020 +73
tftp_main 393 376 -17
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 73/-17) Total: 56 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/slattach.c')
0 files changed, 0 insertions, 0 deletions