mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
use logical or instead of bitwise or
This commit is contained in:
parent
edd3611166
commit
454fb3bb72
|
@ -1052,7 +1052,7 @@ namespace llarp
|
|||
[&](const std::string &,
|
||||
const std::shared_ptr< service::Endpoint > &ep) -> bool {
|
||||
const bool success = ep->LookupRouterAnon(remote, resultHandler);
|
||||
sent |= success;
|
||||
sent = sent || success;
|
||||
return !success;
|
||||
});
|
||||
if(sent)
|
||||
|
|
Loading…
Reference in a new issue