1
1
Fork 0
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:
Jeff Becker 2019-07-09 14:51:43 -04:00
parent edd3611166
commit 454fb3bb72
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -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)