]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Removed a spurious & which was causing attempts to dereference a 0 pointer.
authorDamien Neil <source@isc.org>
Sat, 12 Aug 2000 00:45:40 +0000 (00:45 +0000)
committerDamien Neil <source@isc.org>
Sat, 12 Aug 2000 00:45:40 +0000 (00:45 +0000)
server/dhcp.c

index 8a148ef89ce0e67f3f035f1b8ba495db7d2222a0..b6839b2df56ed7f3c5ae21f002769872062749a8 100644 (file)
@@ -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);