summaryrefslogtreecommitdiff
path: root/lib/smb.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-19 10:24:35 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-19 17:07:02 +0100
commit219d9f8620d41134825db693500131db0305a325 (patch)
treeadc4fbbb3d96f2257e16dd0d8db1cf3aaab2ffdc /lib/smb.c
parent2bdec0b3636e1130316abeb7d7b4653329abc318 (diff)
downloadcurl-219d9f8620d41134825db693500131db0305a325.tar.gz
transfer: remove conn->data use
Closes #6486
Diffstat (limited to 'lib/smb.c')
-rw-r--r--lib/smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smb.c b/lib/smb.c
index 6af9b3ac2..dd4e4fdbf 100644
--- a/lib/smb.c
+++ b/lib/smb.c
@@ -631,7 +631,7 @@ static CURLcode smb_send_and_recv(struct Curl_easy *data, void **msg)
data->set.upload_buffer_size :
smbc->upload_size;
data->req.upload_fromhere = data->state.ulbuf;
- result = Curl_fillreadbuffer(conn, nread, &nread);
+ result = Curl_fillreadbuffer(data, nread, &nread);
if(result && result != CURLE_AGAIN)
return result;
if(!nread)