diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-12 02:42:35 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-12 02:42:35 +0100 |
commit | 31e2e7b86388e4ece09f37866bd1411f357cafbd (patch) | |
tree | d87ab658d71ea54decdf6f6c94a0de1133124ea1 /networking/tftp.c | |
parent | 1315c30fefe6e64cd2cbc95fe484b02ce70afec1 (diff) | |
download | busybox-w32-31e2e7b86388e4ece09f37866bd1411f357cafbd.tar.gz busybox-w32-31e2e7b86388e4ece09f37866bd1411f357cafbd.tar.bz2 busybox-w32-31e2e7b86388e4ece09f37866bd1411f357cafbd.zip |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tftp.c')
-rw-r--r-- | networking/tftp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index ef4198be8..8d6038853 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -743,7 +743,7 @@ int tftpd_main(int argc UNUSED_PARAM, char **argv) | |||
743 | const char *error_msg; | 743 | const char *error_msg; |
744 | int opt, result, opcode; | 744 | int opt, result, opcode; |
745 | IF_FEATURE_TFTP_BLOCKSIZE(int blksize = TFTP_BLKSIZE_DEFAULT;) | 745 | IF_FEATURE_TFTP_BLOCKSIZE(int blksize = TFTP_BLKSIZE_DEFAULT;) |
746 | IF_FEATURE_TFTP_BLOCKSIZE(int want_transfer_size;) | 746 | IF_FEATURE_TFTP_BLOCKSIZE(int want_transfer_size = 0;) |
747 | 747 | ||
748 | INIT_G(); | 748 | INIT_G(); |
749 | 749 | ||
@@ -791,7 +791,6 @@ int tftpd_main(int argc UNUSED_PARAM, char **argv) | |||
791 | goto err; | 791 | goto err; |
792 | } | 792 | } |
793 | # if ENABLE_FEATURE_TFTP_BLOCKSIZE | 793 | # if ENABLE_FEATURE_TFTP_BLOCKSIZE |
794 | want_transfer_size = 0; | ||
795 | { | 794 | { |
796 | char *res; | 795 | char *res; |
797 | char *opt_str = mode + sizeof("octet"); | 796 | char *opt_str = mode + sizeof("octet"); |