From 23cf1236cf9b67d3696b2adb23384575f10bf2fd Mon Sep 17 00:00:00 2001 From: Craig Edwards Date: Tue, 19 Nov 2024 19:10:49 +0000 Subject: [PATCH] error handling --- src/dpp/sslclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dpp/sslclient.cpp b/src/dpp/sslclient.cpp index c13dc70db3..24ff575aca 100644 --- a/src/dpp/sslclient.cpp +++ b/src/dpp/sslclient.cpp @@ -484,7 +484,7 @@ void ssl_client::on_write(socket fd, const struct socket_events& e) { void ssl_client::on_error(socket fd, const struct socket_events&, int error_code) { if (sfd != INVALID_SOCKET) { - this->close(); + ssl_client::close(); } }