summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2001-10-17 04:00:35 +0000
committerTed Lemon <source@isc.org>2001-10-17 04:00:35 +0000
commit3253077f10216658c6d6c9afdb1640d655fc446a (patch)
tree6802f16b994cebeba608b4c3e5085f3795dbafd4
parentd36b12a9ffb7d642c951e3e97597ccc753a68a2f (diff)
downloadisc-dhcp-3253077f10216658c6d6c9afdb1640d655fc446a.tar.gz
new_hash_table: store the pointer to the new table.
-rw-r--r--omapip/hash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/omapip/hash.c b/omapip/hash.c
index de142224..67c46bfc 100644
--- a/omapip/hash.c
+++ b/omapip/hash.c
@@ -43,7 +43,7 @@
#ifndef lint
static char copyright[] =
-"$Id: hash.c,v 1.1.2.4 2001/10/17 03:28:19 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: hash.c,v 1.1.2.5 2001/10/17 04:00:35 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include <omapip/omapip_p.h>
@@ -81,6 +81,7 @@ int new_hash_table (tp, count, file, line)
if (!rval)
return 0;
rval -> hash_count = count;
+ *tp = rval;
return 1;
}