diff options
author | Shawn Routhier <sar@isc.org> | 2012-10-16 15:05:24 -0700 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2012-10-16 15:05:24 -0700 |
commit | 0f750c4fb19823f622cfde356ac7f7aa2c9a3427 (patch) | |
tree | fea3ccc473e35832e12a0a3d0a576ea9b2174846 /server/ldap.c | |
parent | 881442e20f455fb1dc21600390cc5aecae08fd72 (diff) | |
download | isc-dhcp-0f750c4fb19823f622cfde356ac7f7aa2c9a3427.tar.gz |
[master]
[rt23833]
Clean up a number of items identified by the Coverity
static analysis tool. Runs courtesy of Red Hat.
Diffstat (limited to 'server/ldap.c')
-rw-r--r-- | server/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ldap.c b/server/ldap.c index 5003228e..8a7d6955 100644 --- a/server/ldap.c +++ b/server/ldap.c @@ -1988,7 +1988,7 @@ find_subclass_in_ldap (struct class *class, struct class **newclass, return (0); } memset ((*newclass)->billed_leases, 0, - ((*newclass)->lease_limit * sizeof (*newclass)->billed_leases)); + ((*newclass)->lease_limit * sizeof (struct lease *))); } data_string_copy (&(*newclass)->hash_string, data, MDL); |