1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-05 15:55:58 +03:00

Merge branch '3.1' into 3.3

This commit is contained in:
Georg Richter
2024-05-08 11:43:18 +02:00
5 changed files with 6 additions and 6 deletions

View File

@@ -140,7 +140,7 @@ my_ssl_async_check_result(int res, struct mysql_async_context *b, MARIADB_SSL *c
{
int ssl_err;
b->events_to_wait_for= 0;
if (res >= 0)
if (res > 0)
return 1;
ssl_err= SSL_get_error(ssl, res);
if (ssl_err == SSL_ERROR_WANT_READ)