mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[1040] minor changes
This commit is contained in:
@@ -798,7 +798,7 @@ CqlLease4Exchange::getExpiredLeases(const size_t &max_leases,
|
||||
std::numeric_limits<cass_int32_t>::max();
|
||||
|
||||
for (cass_int32_t state = Lease::STATE_DEFAULT; state <= Lease::STATE_EXPIRED_RECLAIMED;
|
||||
state++) {
|
||||
++state) {
|
||||
if (state == keep_state) {
|
||||
continue;
|
||||
}
|
||||
@@ -1617,7 +1617,7 @@ CqlLease6Exchange::getExpiredLeases(const size_t &max_leases,
|
||||
std::numeric_limits<cass_int32_t>::max();
|
||||
|
||||
for (cass_int32_t state = Lease::STATE_DEFAULT; state <= Lease::STATE_EXPIRED_RECLAIMED;
|
||||
state++) {
|
||||
++state) {
|
||||
if (state == keep_state) {
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user