Browse Source

Fix eplus search bug

Not that anyone would ever use this but it was noticed in a scan.
pull/1625/head
Antonio SJ Musumeci 3 weeks ago
committed by trapexit
parent
commit
01aa888c7a
  1. 2
      src/policy_eplus.cpp

2
src/policy_eplus.cpp

@ -126,7 +126,7 @@ _search(const Branches::Ptr &branches_,
Branch *obranch; Branch *obranch;
obranch = nullptr; obranch = nullptr;
eplus = 0;
eplus = std::numeric_limits<u64>::max();
for(auto &branch : *branches_) for(auto &branch : *branches_)
{ {
if(!fs::exists(branch.path,fusepath_)) if(!fs::exists(branch.path,fusepath_))

Loading…
Cancel
Save