Skip to content

Commit

Permalink
Fix build conflict (#12487)
Browse files Browse the repository at this point in the history
#### Problem

bf383b3 #11937 landed with a form
changed a few minutes earlier by e2e4c17 #12420

#### Change overview

Fix return values.

#### Testing

Build & CI
  • Loading branch information
kpschoedel authored and pull[bot] committed Feb 21, 2022
1 parent c1a7196 commit 1605044
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/protocols/secure_channel/CASESessionCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ CASESessionCache::~CASESessionCache()
{
mCachePool.ForEachActiveObject([&](auto * ec) {
mCachePool.ReleaseObject(ec);
return true;
return Loop::Continue;
});
}

Expand All @@ -39,7 +39,7 @@ CASESessionCachable * CASESessionCache::GetLRUSession()
minTimeStamp = ec->mSessionSetupTimeStamp;
lruSession = ec;
}
return true;
return Loop::Continue;
});
return lruSession;
}
Expand Down Expand Up @@ -68,7 +68,7 @@ CHIP_ERROR CASESessionCache::Remove(ResumptionID resumptionID)
{
mCachePool.ReleaseObject(ec);
}
return true;
return Loop::Continue;
});

return err;
Expand All @@ -83,9 +83,9 @@ CHIP_ERROR CASESessionCache::Get(ResumptionID resumptionID, CASESessionCachable
{
found = true;
outSessionCachable = *ec;
return false;
return Loop::Break;
}
return true;
return Loop::Continue;
});

if (!found)
Expand Down

0 comments on commit 1605044

Please sign in to comment.