Commit 4ecc32a4 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Fixed regression in process parent handling.

parent 743af545
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment