diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-11-24 23:16:55 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-11-24 23:16:55 +0000 |
commit | 13648f8ccda6f99674ac407640474634e856804c (patch) | |
tree | 9ce7e3edb2ade2f936428e584813b61285656fcf /lib/progress.c | |
parent | 5b809a31047111dab9dd11f48f2bb7db00f0e23e (diff) | |
download | curl-13648f8ccda6f99674ac407640474634e856804c.tar.gz |
struct HandleData is now called struct SingleRequest, and is only for data that
is inited at the start of the DO action. I removed the Curl_transfer_keeper
struct completely, and I had to move out a few struct members (that had to
be set before DO or used after DONE) to the UrlState struct. The SingleRequest
struct is accessed with SessionHandle->req.
One of the biggest reasons for doing this was the bunch of duplicate struct
members in HandleData and Curl_transfer_keeper since it was really messy to
keep track of two variables with the same name and basically the same purpose!
Diffstat (limited to 'lib/progress.c')
-rw-r--r-- | lib/progress.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/progress.c b/lib/progress.c index ad09938f8..f473e8227 100644 --- a/lib/progress.c +++ b/lib/progress.c @@ -356,11 +356,10 @@ int Curl_pgrsUpdate(struct connectdata *conn) progress */ if(!(data->progress.flags & PGRS_HEADERS_OUT)) { - if(data->reqdata.resume_from) { + if(data->state.resume_from) { fprintf(data->set.err, - "** Resuming transfer from byte position %" FORMAT_OFF_T - "\n", - data->reqdata.resume_from); + "** Resuming transfer from byte position %" FORMAT_OFF_T "\n", + data->state.resume_from); } fprintf(data->set.err, " %% Total %% Received %% Xferd Average Speed Time Time Time Current\n" |