Fix special build

This commit is contained in:
Kruglov Pavel 2023-05-30 14:36:47 +02:00 committed by GitHub
parent fe82d2bbe2
commit 092b06f32e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@
namespace DB
{
bool checkSSLWantRead([[maybe_unused]] ssize_t res)
bool checkSSLWantRead([[maybe_unused]] ssize_t ret)
{
#if USE_SSL
return res == Poco::Net::SecureStreamSocket::ERR_SSL_WANT_READ;
@ -17,7 +17,7 @@ bool checkSSLWantRead([[maybe_unused]] ssize_t res)
#endif
}
bool checkSSLWantWrite([[maybe_unused]] ssize_t res)
bool checkSSLWantWrite([[maybe_unused]] ssize_t ret)
{
#if USE_SSL
return res == Poco::Net::SecureStreamSocket::ERR_SSL_WANT_WRITE;