fixed comments from review of PR

This commit is contained in:
csoler 2019-09-19 20:59:35 +02:00
parent 44d6cb7be2
commit 654d760d84
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
6 changed files with 23 additions and 23 deletions

View file

@ -582,7 +582,7 @@ bool p3Peers::isSslOnlyFriend(const RsPeerId& sslId)
{
if(isPgpFriend(getGPGId(sslId)))
{
RsErr() << "Peer " << sslId << " has SSL-friend-only flag but his PGP id is in the list of friends. This is inconsistent (Bug in the code). Returning false for security reasons." << std::endl;
RsErr() << __PRETTY_FUNCTION__ << ": Peer " << sslId << " has SSL-friend-only flag but his PGP id is in the list of friends. This is inconsistent (Bug in the code). Returning false for security reasons." << std::endl;
return false;
}
return true;