aboutsummaryrefslogtreecommitdiff
path: root/lib/tftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-05-07 08:30:43 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-05-07 08:30:43 +0000
commit7bdd14a9946e1b93e2e1614ad436405e9c497147 (patch)
tree4d6065d80bc275e7b79c782efd681c21925524f4 /lib/tftp.c
parentafe06b48d62d6ac9d572e0cc82241998f3fc3931 (diff)
- 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.
Diffstat (limited to 'lib/tftp.c')
-rw-r--r--lib/tftp.c2
1 files changed, 2 insertions, 0 deletions
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++;