]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix stupid oversight in hash_delete - thanks to Jon Grubbs for finding this
authorTed Lemon <source@isc.org>
Mon, 9 Sep 1996 07:04:45 +0000 (07:04 +0000)
committerTed Lemon <source@isc.org>
Mon, 9 Sep 1996 07:04:45 +0000 (07:04 +0000)
common/hash.c
hash.c

index 668c4cfdadc455db0811515483d4d6868be59a44..e8e93752008a77d6f19dd7e1be9dcd8891d88134 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: hash.c,v 1.8 1996/08/28 01:39:20 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: hash.c,v 1.9 1996/09/09 07:04:45 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -142,6 +142,7 @@ void delete_hash_entry (table, name, len)
                        free_hash_bucket (bp, "delete_hash_entry");
                        break;
                }
+               pbp = bp;       /* jwg, 9/6/96 - nice catch! */
        }
 }
 
diff --git a/hash.c b/hash.c
index 668c4cfdadc455db0811515483d4d6868be59a44..e8e93752008a77d6f19dd7e1be9dcd8891d88134 100644 (file)
--- a/hash.c
+++ b/hash.c
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: hash.c,v 1.8 1996/08/28 01:39:20 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: hash.c,v 1.9 1996/09/09 07:04:45 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -142,6 +142,7 @@ void delete_hash_entry (table, name, len)
                        free_hash_bucket (bp, "delete_hash_entry");
                        break;
                }
+               pbp = bp;       /* jwg, 9/6/96 - nice catch! */
        }
 }