mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r22683: fix the logic for skipping the pipe_dead()
code on the 2nd run. thanks volker for finding this! metze (This used to be commit 00ccc217da62a7f4125f28e77030ae526d573f3a)
This commit is contained in:
parent
e0e8fc3db4
commit
9644ced731
@ -42,12 +42,12 @@ static void pipe_dead(struct dcerpc_connection *c, NTSTATUS status)
|
||||
{
|
||||
struct smb_private *smb = c->transport.private;
|
||||
|
||||
smb->dead = true;
|
||||
|
||||
if (smb->dead) {
|
||||
return;
|
||||
}
|
||||
|
||||
smb->dead = true;
|
||||
|
||||
if (NT_STATUS_EQUAL(NT_STATUS_UNSUCCESSFUL, status)) {
|
||||
status = NT_STATUS_UNEXPECTED_NETWORK_ERROR;
|
||||
}
|
||||
|
@ -44,12 +44,12 @@ static void pipe_dead(struct dcerpc_connection *c, NTSTATUS status)
|
||||
{
|
||||
struct smb2_private *smb = c->transport.private;
|
||||
|
||||
smb->dead = true;
|
||||
|
||||
if (smb->dead) {
|
||||
return;
|
||||
}
|
||||
|
||||
smb->dead = true;
|
||||
|
||||
if (NT_STATUS_EQUAL(NT_STATUS_UNSUCCESSFUL, status)) {
|
||||
status = NT_STATUS_UNEXPECTED_NETWORK_ERROR;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user