summaryrefslogtreecommitdiff
path: root/bin/ksh/table.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-12-19 04:14:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-12-19 04:14:21 +0000
commitae02df2057edb3b786f254cf8867184962234a11 (patch)
treead13990fa53bf00ead486f59dec05e9b3df1cd3b /bin/ksh/table.c
parent8695dd2ff775abd06278bea758f0f044d60a34da (diff)
spacing
Diffstat (limited to 'bin/ksh/table.c')
-rw-r--r--bin/ksh/table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/table.c b/bin/ksh/table.c
index 2da1c0a8027..615d17ccdaf 100644
--- a/bin/ksh/table.c
+++ b/bin/ksh/table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: table.c,v 1.7 2004/12/18 21:25:44 millert Exp $ */
+/* $OpenBSD: table.c,v 1.8 2004/12/19 04:14:20 deraadt Exp $ */
/*
* dynamic hashed associative table for commands and variables
@@ -109,7 +109,7 @@ tenter(tp, n, h)
/* search for name in hashed table */
for (pp = &tp->tbls[h & (tp->size-1)]; (p = *pp) != NULL; pp--) {
if (*p->name == *n && strcmp(p->name, n) == 0)
- return p; /* found */
+ return p; /* found */
if (pp == tp->tbls) /* wrap */
pp += tp->size;
}