aboutsummaryrefslogtreecommitdiff
path: root/networking/tftp.c
diff options
context:
space:
mode:
authorGravatar Denys Vlasenko <vda.linux@googlemail.com>2009-12-12 02:42:35 +0100
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2009-12-12 02:42:35 +0100
commit31e2e7b86388e4ece09f37866bd1411f357cafbd (patch)
treed87ab658d71ea54decdf6f6c94a0de1133124ea1 /networking/tftp.c
parent1315c30fefe6e64cd2cbc95fe484b02ce70afec1 (diff)
downloadbusybox-31e2e7b86388e4ece09f37866bd1411f357cafbd.tar.gz
busybox-31e2e7b86388e4ece09f37866bd1411f357cafbd.tar.bz2
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tftp.c')
-rw-r--r--networking/tftp.c3
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)
const char *error_msg;
int opt, result, opcode;
IF_FEATURE_TFTP_BLOCKSIZE(int blksize = TFTP_BLKSIZE_DEFAULT;)
- IF_FEATURE_TFTP_BLOCKSIZE(int want_transfer_size;)
+ IF_FEATURE_TFTP_BLOCKSIZE(int want_transfer_size = 0;)
INIT_G();
@@ -791,7 +791,6 @@ int tftpd_main(int argc UNUSED_PARAM, char **argv)
goto err;
}
# if ENABLE_FEATURE_TFTP_BLOCKSIZE
- want_transfer_size = 0;
{
char *res;
char *opt_str = mode + sizeof("octet");