diff options
| author | 2004-04-14 04:34:19 +0000 | |
|---|---|---|
| committer | 2004-04-14 04:34:19 +0000 | |
| commit | e5d6d073a9e58bf6e71ee97e56ec2de1a3c5488f (patch) | |
| tree | 6362c07fc7eff3d2c992243fbb0b2bf0a664819d /usr.sbin/dhcpd/tree.c | |
| parent | KNF, ansi and such (diff) | |
| download | wireguard-openbsd-e5d6d073a9e58bf6e71ee97e56ec2de1a3c5488f.tar.xz wireguard-openbsd-e5d6d073a9e58bf6e71ee97e56ec2de1a3c5488f.zip | |
spaces
Diffstat (limited to 'usr.sbin/dhcpd/tree.c')
| -rw-r--r-- | usr.sbin/dhcpd/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/tree.c b/usr.sbin/dhcpd/tree.c index 76adec88127..d2c91b8c222 100644 --- a/usr.sbin/dhcpd/tree.c +++ b/usr.sbin/dhcpd/tree.c @@ -152,7 +152,7 @@ struct tree *tree_concat (left, right) free_tree (right, "tree_concat"); return left; } - + /* Otherwise, allocate a new node to concatenate the two. */ if (!(nt = new_tree ("tree_concat"))) error ("No memory for data tree concatenation node."); @@ -335,7 +335,7 @@ static time_t do_host_lookup (bufix, bufp, bufcount, dns) /* Count the number of addresses we got... */ for (i = 0; h -> h_addr_list [i]; i++) ; - + /* Do we need to allocate more memory? */ new_len = i * h -> h_length; if (dns -> buf_len < i) { |
