mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 16:26:59 +00:00
reindent all files
And update the indent.pro to match with the style I like. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
9090cfb1d7
commit
4392a5b917
10 changed files with 156 additions and 241 deletions
|
|
@ -69,13 +69,11 @@ int do_counting(void)
|
|||
|
||||
/* Walk through ranges */
|
||||
for (i = 0; i < num_ranges; i++) {
|
||||
for (; l != NULL && ipcomp(&range_p->first_ip, &l->ip) < 0;
|
||||
l = l->hh.prev)
|
||||
for (; l != NULL && ipcomp(&range_p->first_ip, &l->ip) < 0; l = l->hh.prev)
|
||||
/* rewind */ ;
|
||||
if (l == NULL)
|
||||
l = leases;
|
||||
for (; l != NULL && ipcomp(&l->ip, &range_p->last_ip) <= 0;
|
||||
l = l->hh.next) {
|
||||
for (; l != NULL && ipcomp(&l->ip, &range_p->last_ip) <= 0; l = l->hh.next) {
|
||||
if (ipcomp(&l->ip, &range_p->first_ip) < 0) {
|
||||
/* should not be necessary */
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue