From: Damien Neil Date: Sat, 12 Aug 2000 00:45:40 +0000 (+0000) Subject: Removed a spurious & which was causing attempts to dereference a 0 pointer. X-Git-Tag: V3-BETA-2-PATCH-1~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=471f5c39d7a2418c334709874dbf453c250ce209;p=thirdparty%2Fdhcp.git Removed a spurious & which was causing attempts to dereference a 0 pointer. --- diff --git a/server/dhcp.c b/server/dhcp.c index 8a148ef89..b6839b2df 100644 --- a/server/dhcp.c +++ b/server/dhcp.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: dhcp.c,v 1.157 2000/07/27 09:03:04 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhcp.c,v 1.158 2000/08/12 00:45:40 neild Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -3038,7 +3038,7 @@ void static_lease_dereference (lease, file, line) if (lease -> on_commit) executable_statement_dereference (&lease -> on_commit, file, line); - if (&lease -> scope) + if (lease -> scope) binding_scope_dereference (&lease -> scope, file, line); if (lease -> uid != lease -> uid_buf) { dfree (lease -> uid, file, line);