From 7bdd14a9946e1b93e2e1614ad436405e9c497147 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 7 May 2009 08:30:43 +0000 Subject: - Vijay G filed bug report #2723236 (http://curl.haxx.se/bug/view.cgi?id=2723236) identifying a problem with libcurl's TFTP code and its lack of dealing with the OACK packet. --- lib/tftp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/tftp.c b/lib/tftp.c index b095cc532..1cb128454 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -695,6 +695,8 @@ static CURLcode tftp_tx(tftp_state_data_t *state, tftp_event_t event) } return res; } + /* fall-through */ + case TFTP_EVENT_OACK: /* This is the expected packet. Reset the counters and send the next block */ state->block++; -- cgit v1.2.3