summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Src/hashtable.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cc57282ad..b7cd82fec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-04-13  Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
 
+	* 10726: Src/hashtable.c: fix field name for HAVE_NIS_PLUS
+	
 	* 10725: Src/Zle/compcore.c, Src/Zle/compctl.c,
  	Src/Zle/compresult.c: comment the `#if's for group numbers in
  	$compstate[insert]
diff --git a/Src/hashtable.c b/Src/hashtable.c
index 7a881e9f8..b4c0a573b 100644
--- a/Src/hashtable.c
+++ b/Src/hashtable.c
@@ -1188,7 +1188,7 @@ emptynameddirtable(HashTable ht)
 static int
 add_userdir(nis_name table, nis_object *object, void *userdata)
 {
-    if (object->zo_data.objdata_u.en_data.en_cols.en_cols >= 6) {
+    if (object->zo_data.objdata_u.en_data.en_cols.en_cols_len >= 6) {
 	static char name[40], dir[PATH_MAX + 1];
 	register entry_col *ec =
 	    object->zo_data.objdata_u.en_data.en_cols.en_cols_val;