diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-04-25 10:49:53 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-04-25 10:55:35 +0200 |
commit | e698b822877898c44f0ee809b17aff8437674128 (patch) | |
tree | 1d8404a9f6af899d8145f0ee023d798811f21fad /packages/TPF | |
parent | 338f427a24f78a717888c7c2b6b91fa831bea28e (diff) |
transfer: remove 'uploadbuf' pointer and cleanup readwrite_upload()
The data->req.uploadbuf struct member served no good purpose, instead we
use ->state.uploadbuffer directly. It makes it clearer in the code which
buffer that's being used.
Removed the 'SingleRequest *' argument from the readwrite_upload() proto
as it can be derived from the Curl_easy struct. Also made the code in
the readwrite_upload() function use the 'k->' shortcut to all references
to struct fields in 'data->req', which previously was made with a mix of
both.
Diffstat (limited to 'packages/TPF')
0 files changed, 0 insertions, 0 deletions