Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
ndptech committed Feb 9, 2024
1 parent e127d7a commit 5e6e519
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/modules/rlm_files/rlm_files.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,24 +540,18 @@ static unlang_action_t CC_HINT(nonnull) mod_files_resume(rlm_rcode_t *p_result,
goto fail;
}

if (pl->fall_through) {
continue;
}
if (pl->fall_through) continue;

/*
* We're not doing patricia tries. Stop now.
*/
if (!trie) {
break;
}
if (!trie) break;

/*
* We're doing patricia tries, but we've been
* told to not walk back up the trie, OR we're at the top of the tree. Stop.
*/
if (!pl->next_shortest_prefix || (keylen == 0)) {
break;
}
if (!pl->next_shortest_prefix || (keylen == 0)) break;

/*
* Walk back up the trie looking for shorter prefixes.
Expand Down

0 comments on commit 5e6e519

Please sign in to comment.