aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1404
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-04-25 10:49:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-04-25 10:55:35 +0200
commite698b822877898c44f0ee809b17aff8437674128 (patch)
tree1d8404a9f6af899d8145f0ee023d798811f21fad /tests/data/test1404
parent338f427a24f78a717888c7c2b6b91fa831bea28e (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 'tests/data/test1404')
0 files changed, 0 insertions, 0 deletions