forked from wolfSSL/wolfssl
Merge pull request #7896 from kareem-wolfssl/wolfIoLogging
Log error code in TranslateIoReturnCode.
This commit is contained in:
@ -251,7 +251,7 @@ static int TranslateIoReturnCode(int err, SOCKET_T sd, int direction)
|
|||||||
NULL);
|
NULL);
|
||||||
WOLFSSL_MSG(errstr);
|
WOLFSSL_MSG(errstr);
|
||||||
#else
|
#else
|
||||||
WOLFSSL_MSG("\tGeneral error");
|
WOLFSSL_MSG_EX("\tGeneral error: %d", err);
|
||||||
#endif
|
#endif
|
||||||
return WOLFSSL_CBIO_ERR_GENERAL;
|
return WOLFSSL_CBIO_ERR_GENERAL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user