about summary refs log tree commit diff
path: root/Src/hashtable.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-05-04 21:25:24 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-05-04 21:25:24 +0000
commitf5a2c482ef3fe4bea71bc8c6da72c9d9ec402649 (patch)
tree72f2958f767c535a7472bfdf4f6762ef4b7de6bf /Src/hashtable.c
parent930b08beac92d4c23bdf913ac188924cb6698ff2 (diff)
downloadzsh-f5a2c482ef3fe4bea71bc8c6da72c9d9ec402649.tar.gz
zsh-f5a2c482ef3fe4bea71bc8c6da72c9d9ec402649.tar.xz
zsh-f5a2c482ef3fe4bea71bc8c6da72c9d9ec402649.zip
zsh-workers:6198
Diffstat (limited to 'Src/hashtable.c')
-rw-r--r--Src/hashtable.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/hashtable.c b/Src/hashtable.c
index 72e4db21b..0451cc8cb 100644
--- a/Src/hashtable.c
+++ b/Src/hashtable.c
@@ -350,6 +350,10 @@ scanhashtable(HashTable ht, int sorted, int flags1, int flags2, ScanFunc scanfun
 {
     struct scanstatus st;
 
+    if (ht->scanfunc) {
+	ht->scanfunc(ht, scanfunc, scanflags);
+	return;
+    }
     if (sorted) {
 	int i, ct = ht->ct;
 	VARARR(HashNode, hnsorttab, ct);