mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04: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_conn *smbc = &conn->proto.smbc;
|
||||||
struct smb_request *req = conn->data->req.protop;
|
struct smb_request *req = conn->data->req.protop;
|
||||||
|
|
||||||
|
*done = FALSE;
|
||||||
if(smbc->share) {
|
if(smbc->share) {
|
||||||
req->path = strchr(smbc->share, '\0');
|
req->path = strchr(smbc->share, '\0');
|
||||||
if(req->path) {
|
if(req->path) {
|
||||||
req->path++;
|
req->path++;
|
||||||
*done = TRUE;
|
|
||||||
return CURLE_OK;
|
return CURLE_OK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user