1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-12 12:35:04 -05:00

Fixed unused variable warning.

This commit is contained in:
Dan Fandrich 2008-02-11 18:27:36 +00:00
parent df07c87b89
commit 44fba11b34

View File

@ -191,8 +191,6 @@ const struct Curl_handler Curl_handler_tftp = {
**********************************************************/ **********************************************************/
static void tftp_set_timeouts(tftp_state_data_t *state) static void tftp_set_timeouts(tftp_state_data_t *state)
{ {
struct SessionHandle *data = state->conn->data;
time_t maxtime, timeout; time_t maxtime, timeout;
long timeout_ms; long timeout_ms;
@ -248,7 +246,8 @@ static void tftp_set_timeouts(tftp_state_data_t *state)
if(state->retry_time<1) if(state->retry_time<1)
state->retry_time=1; state->retry_time=1;
infof(data, "set timeouts for state %d; Total %d, retry %d maxtry %d\n", infof(state->conn->data,
"set timeouts for state %d; Total %d, retry %d maxtry %d\n",
state->state, (state->max_time-state->start_time), state->state, (state->max_time-state->start_time),
state->retry_time, state->retry_max); state->retry_time, state->retry_max);
} }