diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-08-01 13:06:21 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-08-01 15:52:52 +0200 |
commit | 45d45275e1f7b764839333ba374bd695d258f43b (patch) | |
tree | cae0866581e58954fa2339e2509373020f652b77 | |
parent | 276644ca1682fbd78f0acf3368865aee38d5aa48 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } } |