* nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers
authorjakub <jakub>
Thu, 5 Apr 2007 13:59:02 +0000 (13:59 +0000)
committerjakub <jakub>
Thu, 5 Apr 2007 13:59:02 +0000 (13:59 +0000)
with obj->do_servers after first_shoot.

ChangeLog
nis/nis_call.c

index 9b6d74f..50ddc3c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers
+       with obj->do_servers after first_shoot.
+
 2007-04-03  Ulrich Drepper  <drepper@redhat.com>
 
        * posix/Makefile (routines): Add sched_cpucount.
index 32d47f8..fcf238d 100644 (file)
@@ -772,15 +772,15 @@ __nisfind_server (const_nis_name name, int search_parent_first,
 
   if (result == NIS_SUCCESS)
     {
-      unsigned int server_len = (*dir)->do_servers.do_servers_len;
+      unsigned int server_len = obj->do_servers.do_servers_len;
       if (flags & MASTER_ONLY)
        server_len = 1;
-      result = __nisbind_create (dbp, (*dir)->do_servers.do_servers_val,
+      result = __nisbind_create (dbp, obj->do_servers.do_servers_val,
                                 server_len, ~0, ~0, flags);
       if (result == NIS_SUCCESS)
        {
          if ((flags & MASTER_ONLY) == 0
-             || (*dir)->do_servers.do_servers_len == 1)
+             || obj->do_servers.do_servers_len == 1)
            {
              server_used = dbp->server_used;
              current_ep = dbp->current_ep;