mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 06:55:16 +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();
|
std::numeric_limits<cass_int32_t>::max();
|
||||||
|
|
||||||
for (cass_int32_t state = Lease::STATE_DEFAULT; state <= Lease::STATE_EXPIRED_RECLAIMED;
|
for (cass_int32_t state = Lease::STATE_DEFAULT; state <= Lease::STATE_EXPIRED_RECLAIMED;
|
||||||
state++) {
|
++state) {
|
||||||
if (state == keep_state) {
|
if (state == keep_state) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1617,7 +1617,7 @@ CqlLease6Exchange::getExpiredLeases(const size_t &max_leases,
|
|||||||
std::numeric_limits<cass_int32_t>::max();
|
std::numeric_limits<cass_int32_t>::max();
|
||||||
|
|
||||||
for (cass_int32_t state = Lease::STATE_DEFAULT; state <= Lease::STATE_EXPIRED_RECLAIMED;
|
for (cass_int32_t state = Lease::STATE_DEFAULT; state <= Lease::STATE_EXPIRED_RECLAIMED;
|
||||||
state++) {
|
++state) {
|
||||||
if (state == keep_state) {
|
if (state == keep_state) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user