mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user