From 45d45275e1f7b764839333ba374bd695d258f43b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 1 Aug 2018 13:06:21 +0200 Subject: 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 --- lib/smb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit v1.2.3