about summary refs log tree commit diff
path: root/nis/nis_call.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-04-05 13:59:03 +0000
committerJakub Jelinek <jakub@redhat.com>2007-04-05 13:59:03 +0000
commit88fa17694ee0a04da6d93c36d7ce0c1926d86c49 (patch)
treedad58e43d46a958ac85d081a55f5dc0dbc7c0c1f /nis/nis_call.c
parentb4afdd0651ac787cb19423835a95d1972cb49d24 (diff)
downloadglibc-88fa17694ee0a04da6d93c36d7ce0c1926d86c49.tar.gz
glibc-88fa17694ee0a04da6d93c36d7ce0c1926d86c49.tar.xz
glibc-88fa17694ee0a04da6d93c36d7ce0c1926d86c49.zip
* nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers
with obj->do_servers after first_shoot.
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.
Diffstat (limited to 'nis/nis_call.c')
-rw-r--r--nis/nis_call.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nis/nis_call.c b/nis/nis_call.c
index 32d47f8b84..fcf238db4e 100644
--- a/nis/nis_call.c
+++ b/nis/nis_call.c
@@ -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;