This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/3] nss: Handle nss_parse_service_list out of memory case
Marek Polacek <mpolacek@redhat.com> writes:
> On 09/15/2011 03:56 PM, Jiri Olsa wrote:
>> + return *ni != NULL ? 0 : -1;
>
> I'd prefer just:
> return *ni != NULL;
That would be backwards.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."