X-Git-Url: http://andersk.mit.edu/gitweb/nss_nonlocal.git/blobdiff_plain/df16cf042b6085f68b4263e24f29ad61be71cea8..d52c3f35301d10d46a842416bd30777ceb12be7f:/walk_nss.h diff --git a/walk_nss.h b/walk_nss.h index 24cf4c5..0e45d5b 100644 --- a/walk_nss.h +++ b/walk_nss.h @@ -36,7 +36,7 @@ int old_errno = errno; if (!initialized) { - if (w.lookup(&startp, w.fct_name, &fct_start) != 0) { + if (w.lookup2(&startp, w.fct_name, NULL, &fct_start) != 0) { *w.status = NSS_STATUS_UNAVAIL; goto walk_nss_out; } @@ -79,8 +79,8 @@ } goto walk_nss_morebuf; } - } while (__nss_next(&nip, w.fct_name, &fct.ptr, *w.status, w.all_values) == - 0); + } while (__nss_next2(&nip, w.fct_name, NULL, &fct.ptr, *w.status, + w.all_values) == 0); if (w.buf != NULL && *w.status != NSS_STATUS_SUCCESS) { free(*w.buf);