diff options
Diffstat (limited to 'lib/tftp.c')
-rw-r--r-- | lib/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tftp.c b/lib/tftp.c index 4cc96b05e..d73b3d6e7 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -605,7 +605,7 @@ static CURLcode tftp_rx(tftp_state_data_t *state, tftp_event_t event) if(sendto(state->sockfd, (void *)state->spacket.data, 4, SEND_4TH_ARG, (struct sockaddr *)&state->remote_addr, - state->remote_addrlen)) < 0) { + state->remote_addrlen) < 0) { failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); return CURLE_SEND_ERROR; } |