summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--nscd/nscd_gethst_r.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1fd3646e3f..3147145749 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-06-04  Ulrich Drepper  <drepper@redhat.com>
+
+	* nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
+	in all places, not __nss_not_use_nscd_group.
+	Reported by Philippe Gregoire.
+
 2004-06-03  Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
diff --git a/nscd/nscd_gethst_r.c b/nscd/nscd_gethst_r.c
index 438217b1d6..8a498b6444 100644
--- a/nscd/nscd_gethst_r.c
+++ b/nscd/nscd_gethst_r.c
@@ -131,7 +131,7 @@ nscd_gethst_r (const char *key, size_t keylen, request_type type,
 
   if (sock == -1)
     {
-      __nss_not_use_nscd_group = 1;
+      __nss_not_use_nscd_hosts = 1;
       return -1;
     }