mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Minor fix.
svn path=/trunk/; revision=2149
This commit is contained in:
parent
4b420ec7f6
commit
4073da2472
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: objdir.c,v 1.7 2001/05/02 20:50:06 ea Exp $
|
||||
/* $Id: objdir.c,v 1.8 2001/08/03 21:49:14 ea Exp $
|
||||
*
|
||||
* DESCRIPTION: Object Manager Simple Explorer
|
||||
* PROGRAMMER: David Welch
|
||||
|
@ -229,6 +229,11 @@ ListDirectory (
|
|||
);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
if (STATUS_NO_MORE_ENTRIES == Status)
|
||||
{
|
||||
NtClose (DirectoryHandle);
|
||||
return TRUE;
|
||||
}
|
||||
printf (
|
||||
"Failed to query directory object (Status: %s)\n",
|
||||
StatusToName (Status)
|
||||
|
|
Loading…
Reference in a new issue