1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-04 08:35:05 -05:00

smb: don't mark it done in smb_do

Follow-up to 09e401e01b. The SMB protocol handler needs to use its
doing function too, which requires smb_do() to not mark itself as
done...

Closes #2822
This commit is contained in:
Daniel Stenberg 2018-08-01 13:06:21 +02:00
parent 276644ca16
commit 45d45275e1
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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;
}
}