Fixed regression in process parent handling.

This commit is contained in:
Eric Pouech 2003-02-14 23:31:10 +00:00 committed by Alexandre Julliard
parent 743af54541
commit 4ecc32a405
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ static int snapshot_next_process( struct snapshot *snapshot, struct next_process
ptr = &snapshot->processes[snapshot->process_pos++];
reply->count = ptr->count;
reply->pid = get_process_id( ptr->process );
reply->ppid = get_process_id( ptr->process->parent );
reply->ppid = ptr->process->parent ? get_process_id( ptr->process->parent ) : 0;
reply->heap = 0; /* FIXME */
reply->module = 0; /* FIXME */
reply->threads = ptr->threads;