]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/gshadow.c: sgetsgent(): Be consistent using NULL
authorAlejandro Colomar <alx@kernel.org>
Tue, 5 Nov 2024 13:10:23 +0000 (14:10 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 6 Dec 2024 03:20:59 +0000 (21:20 -0600)
commitc1d597acbbe1d778d834b362c74390aa458e095d
treed8fca4c350d4b92a3f24287e0ba4c5d91c0c6ae3
parent64ab7221fb29bec5d1b9db5c8d360088d7408dae
lib/gshadow.c: sgetsgent(): Be consistent using NULL

0 is a horrible null-pointer constant.  Don't use it.
Especially, when just a few lines above, in the same function,
we've used NULL for the same thing.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/gshadow.c