aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-02-11 18:27:36 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-02-11 18:27:36 +0000
commit44fba11b349ff1197a68b29f1d35fd13e5e61ce7 (patch)
tree2b52c79949451e59c87f7e1ebceaa61a2a76a853 /lib
parentdf07c87b8986dfc0b840484cc841f8b708ae25cb (diff)
Fixed unused variable warning.
Diffstat (limited to 'lib')
-rw-r--r--lib/tftp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/tftp.c b/lib/tftp.c
index 3f7d6442c..8b3656cdf 100644
--- a/lib/tftp.c
+++ b/lib/tftp.c
@@ -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);
}