mirror of
https://github.com/curl/curl.git
synced 2026-07-31 20:28:04 +03: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
1 changed files with 1 additions and 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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue