fixed "connexion refused by peer" message

This commit is contained in:
csoler 2019-12-06 22:45:33 +01:00
parent d152d9f50c
commit 9790b98605
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C
2 changed files with 2 additions and 3 deletions

View File

@ -1096,8 +1096,7 @@ int pqissl::SSL_Connection_Complete()
if (err != 1)
{
int serr = SSL_get_error(ssl_connection, err);
if ((serr == SSL_ERROR_WANT_READ)
|| (serr == SSL_ERROR_WANT_WRITE))
if ((serr == SSL_ERROR_WANT_READ) || (serr == SSL_ERROR_WANT_WRITE))
{
#ifdef PQISSL_LOG_DEBUG
rslog(RSL_DEBUG_BASIC, pqisslzone,

View File

@ -94,7 +94,7 @@ void PeerItem::updateItemStatic()
title = tr("Friend Connected");
break;
case PEER_TYPE_HELLO:
title = tr("Connect Attempt");
title = tr("Connection refused by peer");
break;
case PEER_TYPE_NEW_FOF:
title = tr("Friend of Friend");