about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-13 08:19:44 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-13 08:19:44 +0000
commitba1d606cb2a4c0a6e1e69b0a4f72cd9f34439469 (patch)
tree48ef9db9e1baf47581c766d1a07ced73a9dac6d4
parent2ef4fd884cb459f67f2dff82a609c8b1245ffc0e (diff)
downloadzsh-ba1d606cb2a4c0a6e1e69b0a4f72cd9f34439469.tar.gz
zsh-ba1d606cb2a4c0a6e1e69b0a4f72cd9f34439469.tar.xz
zsh-ba1d606cb2a4c0a6e1e69b0a4f72cd9f34439469.zip
fix field name for HAVE_NIS_PLUS (10726)
-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;