mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Improve readibility of terrible if
This commit is contained in:
parent
63b787a504
commit
f86d20d4cd
@ -1078,7 +1078,7 @@ int pqissl::SSL_Connection_Complete()
|
|||||||
/* if we are passive - then accept! */
|
/* if we are passive - then accept! */
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
if (sslmode)
|
if (sslmode == PQISSL_ACTIVE)
|
||||||
{
|
{
|
||||||
#ifdef PQISSL_LOG_DEBUG
|
#ifdef PQISSL_LOG_DEBUG
|
||||||
rslog(RSL_DEBUG_BASIC, pqisslzone, "--------> Active Connect! Client side.");
|
rslog(RSL_DEBUG_BASIC, pqisslzone, "--------> Active Connect! Client side.");
|
||||||
|
@ -187,7 +187,7 @@ int pqissludp::Initiate_Connection()
|
|||||||
out += sockaddr_storage_tostring(remote_addr);
|
out += sockaddr_storage_tostring(remote_addr);
|
||||||
out += " ";
|
out += " ";
|
||||||
|
|
||||||
if (sslmode)
|
if (sslmode == PQISSL_ACTIVE)
|
||||||
{
|
{
|
||||||
out += "ACTIVE Connect (SSL_Connect)";
|
out += "ACTIVE Connect (SSL_Connect)";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user