From: Ted Lemon Date: Mon, 9 Sep 1996 07:04:45 +0000 (+0000) Subject: Fix stupid oversight in hash_delete - thanks to Jon Grubbs for finding this X-Git-Tag: BETA_5_9~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c4c7907c74c81c7edd7e877eb76ac242dec9749;p=thirdparty%2Fdhcp.git Fix stupid oversight in hash_delete - thanks to Jon Grubbs for finding this --- diff --git a/common/hash.c b/common/hash.c index 668c4cfda..e8e937520 100644 --- a/common/hash.c +++ b/common/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! */ } } diff --git a/hash.c b/hash.c index 668c4cfda..e8e937520 100644 --- 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! */ } }