mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 02:55:18 -04:00
Improve readibility of terrible if
This commit is contained in:
parent
63b787a504
commit
f86d20d4cd
2 changed files with 2 additions and 2 deletions
|
@ -1078,7 +1078,7 @@ int pqissl::SSL_Connection_Complete()
|
|||
/* if we are passive - then accept! */
|
||||
int err;
|
||||
|
||||
if (sslmode)
|
||||
if (sslmode == PQISSL_ACTIVE)
|
||||
{
|
||||
#ifdef PQISSL_LOG_DEBUG
|
||||
rslog(RSL_DEBUG_BASIC, pqisslzone, "--------> Active Connect! Client side.");
|
||||
|
|
|
@ -187,7 +187,7 @@ int pqissludp::Initiate_Connection()
|
|||
out += sockaddr_storage_tostring(remote_addr);
|
||||
out += " ";
|
||||
|
||||
if (sslmode)
|
||||
if (sslmode == PQISSL_ACTIVE)
|
||||
{
|
||||
out += "ACTIVE Connect (SSL_Connect)";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue