Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
static void nwrap_module_endpwent(struct nwrap_backend *b)
{
- if (b->symbols->_nss_endpwent.f) {
+ if (b->symbols->_nss_endpwent.f == NULL) {
return;
}
static void nwrap_module_setgrent(struct nwrap_backend *b)
{
- if (b->symbols->_nss_setgrent.f) {
+ if (b->symbols->_nss_setgrent.f == NULL) {
return;
}