aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;
}
}