[core,transport] properly log failure reason retries exceeded
This commit is contained in:
parent
da38ca3254
commit
7832ba2361
@ -676,6 +676,8 @@ static void transport_bio_error_log(rdpTransport* transport, LPCSTR biofunc, BIO
|
||||
if (ERR_peek_error() == 0)
|
||||
{
|
||||
const char* fmt = "%s returned a system error %d: %s";
|
||||
if (saveerrno == 0)
|
||||
fmt = "%s retries exceeded";
|
||||
WLog_PrintMessage(transport->log, WLOG_MESSAGE_TEXT, level, line, file, func, fmt, biofunc,
|
||||
saveerrno, strerror(saveerrno));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user