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:
parent
276644ca16
commit
45d45275e1
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user