diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-07-26 08:16:10 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-07-26 08:16:10 +0000 |
commit | 05e662ab4d6b824d066c6c07fda039a903b28854 (patch) | |
tree | 81bcdcbba74e0a702cbaf64c6b3f7a8b1848940f /networking/tftp.c | |
parent | ac00aa7599e3729a6b2b123785bd14836905cbc0 (diff) | |
download | busybox-w32-05e662ab4d6b824d066c6c07fda039a903b28854.tar.gz busybox-w32-05e662ab4d6b824d066c6c07fda039a903b28854.tar.bz2 busybox-w32-05e662ab4d6b824d066c6c07fda039a903b28854.zip |
Patch from Christian Meyer:
The client gives up way too soon because timeout is set to 0 ...
There's a solution for that problem.
Diffstat (limited to 'networking/tftp.c')
-rw-r--r-- | networking/tftp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index a33b5c21e..da44284dc 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -286,6 +286,7 @@ static inline int tftp(const int cmd, const struct hostent *host, | |||
286 | /* send packet */ | 286 | /* send packet */ |
287 | 287 | ||
288 | 288 | ||
289 | timeout = bb_tftp_num_retries; /* re-initialize */ | ||
289 | do { | 290 | do { |
290 | 291 | ||
291 | len = cp - buf; | 292 | len = cp - buf; |