Skip to content
Snippets Groups Projects
Commit 44fba11b authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Fixed unused variable warning.

parent df07c87b
No related branches found
No related tags found
No related merge requests found
......@@ -191,8 +191,6 @@ const struct Curl_handler Curl_handler_tftp = {
**********************************************************/
static void tftp_set_timeouts(tftp_state_data_t *state)
{
struct SessionHandle *data = state->conn->data;
time_t maxtime, timeout;
long timeout_ms;
......@@ -248,7 +246,8 @@ static void tftp_set_timeouts(tftp_state_data_t *state)
if(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->retry_time, state->retry_max);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment