about summary refs log tree commit diff
path: root/Src/hashtable.c
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-04-30 17:09:08 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-04-30 17:09:08 +0000
commit3e43e5099282927fad9844f106b1cd8a361be03c (patch)
tree9bef1be21f30b5a8bdc5d36b216c6238af1b7224 /Src/hashtable.c
parent04c1d78c5ade0eb7ee0bfbf5f0cc43f303049b79 (diff)
downloadzsh-3e43e5099282927fad9844f106b1cd8a361be03c.tar.gz
zsh-3e43e5099282927fad9844f106b1cd8a361be03c.tar.xz
zsh-3e43e5099282927fad9844f106b1cd8a361be03c.zip
11029: Some missing bits of merging 11015 with 11026.
Diffstat (limited to 'Src/hashtable.c')
-rw-r--r--Src/hashtable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/hashtable.c b/Src/hashtable.c
index 19f23086b..917bbc9e6 100644
--- a/Src/hashtable.c
+++ b/Src/hashtable.c
@@ -789,8 +789,8 @@ removeshfuncnode(HashTable ht, char *nam)
     HashNode hn;
     int signum;
 
-    if (!strncmp(nam, "TRAP", 4) && (signum = getsignum(nam +4)) != -1)
-	hn = removetrap(getsignum(nam + 4));
+    if (!strncmp(nam, "TRAP", 4) && (signum = getsignum(nam + 4)) != -1)
+	hn = removetrap(signum);
     else
 	hn = removehashnode(shfunctab, nam);