diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-05-24 06:01:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-05-24 06:01:25 +0000 |
commit | 062e719bed89d897c1beda5c5460b5c8c84346b9 (patch) | |
tree | 24f713abba17a85c7834925fed9d6449187bd347 /nis/nis_call.c | |
parent | 2d571cd1258ab7c20a49e802e31870041dc10a56 (diff) | |
download | glibc-062e719bed89d897c1beda5c5460b5c8c84346b9.tar.gz glibc-062e719bed89d897c1beda5c5460b5c8c84346b9.tar.xz glibc-062e719bed89d897c1beda5c5460b5c8c84346b9.zip |
* nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of cvs/fedora-glibc-20060524T0721
doing it all here. When server does not know the answer do not fail immediate, try parent first.
Diffstat (limited to 'nis/nis_call.c')
-rw-r--r-- | nis/nis_call.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |