mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 14:23:18 +00:00
[CSRSS]: Fix yet another bug in the unused csrss code.
svn path=/trunk/; revision=46040
This commit is contained in:
parent
f316f00072
commit
9c91a4dc46
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ CsrLocateThreadInProcess(IN PCSR_PROCESS CsrProcess OPTIONAL,
|
||||||
NextEntry = ListHead->Flink;
|
NextEntry = ListHead->Flink;
|
||||||
|
|
||||||
/* Start the Loop */
|
/* Start the Loop */
|
||||||
while (NextEntry != NextEntry)
|
while (NextEntry != ListHead)
|
||||||
{
|
{
|
||||||
/* Get Thread Entry */
|
/* Get Thread Entry */
|
||||||
FoundThread = CONTAINING_RECORD(NextEntry, CSR_THREAD, Link);
|
FoundThread = CONTAINING_RECORD(NextEntry, CSR_THREAD, Link);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue