summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-08-01 13:06:21 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-08-01 15:52:52 +0200
commit45d45275e1f7b764839333ba374bd695d258f43b (patch)
treecae0866581e58954fa2339e2509373020f652b77
parent276644ca1682fbd78f0acf3368865aee38d5aa48 (diff)
downloadcurl-45d45275e1f7b764839333ba374bd695d258f43b.tar.gz
smb: don't mark it done in smb_do
Follow-up to 09e401e01bf9. The SMB protocol handler needs to use its doing function too, which requires smb_do() to not mark itself as done... Closes #2822
-rw-r--r--lib/smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smb.c b/lib/smb.c
index 77eee35a1..09aa8efc7 100644
--- a/lib/smb.c
+++ b/lib/smb.c
@@ -941,11 +941,11 @@ static CURLcode smb_do(struct connectdata *conn, bool *done)
struct smb_conn *smbc = &conn->proto.smbc;
struct smb_request *req = conn->data->req.protop;
+ *done = FALSE;
if(smbc->share) {
req->path = strchr(smbc->share, '\0');
if(req->path) {
req->path++;
- *done = TRUE;
return CURLE_OK;
}
}