2016-07-06 1:13 GMT-06:00 Michael Stefaniuc mstefani@redhat.com:
On 07/06/2016 06:55 AM, Alex Henrie wrote:
[...]
This two if's look odd: one for ppid and then for !ppid. Why don't you just unconditionally do the NULL assignment after the check below?
if (!ppid) return E_INVALIDARG;
Thanks for catching that. This is a mistake, according to the tests get_Parent should never return E_INVALIDARG.
-Alex