From 062e719bed89d897c1beda5c5460b5c8c84346b9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 24 May 2006 06:01:25 +0000 Subject: * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of doing it all here. When server does not know the answer do not fail immediate, try parent first. --- nis/nis_call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nis/nis_call.c') diff --git a/nis/nis_call.c b/nis/nis_call.c index 9769f68174..f8f00d8c82 100644 --- a/nis/nis_call.c +++ b/nis/nis_call.c @@ -405,7 +405,7 @@ rec_dirsearch (const_nis_name name, directory_obj *dir, nis_error *status) ++run; } while (nis_dir_cmp (domain, dir->do_name) != SAME_NAME); - printf("%s: run=%u\n", __func__, run); + if (run == 1) { /* We have found the directory above. Use it. */ -- cgit v1.2.1