mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +00:00
[SAMSRV]
SampDeleteAccountDbObject: Fix the check of a returned status value. The old check caused a failure even though the returned value meant success. svn path=/trunk/; revision=59145
This commit is contained in:
parent
227f950f24
commit
f99fb70e9e
1 changed files with 2 additions and 2 deletions
|
@ -419,9 +419,9 @@ SampDeleteAccountDbObject(PSAM_DB_OBJECT DbObject)
|
|||
NULL,
|
||||
NULL,
|
||||
&Length);
|
||||
if (Status != STATUS_BUFFER_OVERFLOW)
|
||||
if (!NT_SUCCESS(Status) && Status != STATUS_BUFFER_OVERFLOW)
|
||||
{
|
||||
TRACE("Status 0x%08lx\n", Status);
|
||||
TRACE("SampGetObjectAttribute failed (Status 0x%08lx)\n", Status);
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue