From 405ca8738af0d3776dbe56a691cd43e57add6295 Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 16 Jan 2014 20:49:32 +0100 Subject: oops, forgot to change one call to use SocketRWCommon::hasTlsPendingData --- core.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core.cpp b/core.cpp index 8a11433..6f8f5a8 100644 --- a/core.cpp +++ b/core.cpp @@ -661,9 +661,8 @@ int main(int argc, char **argv) { } - if (FD_ISSET(servers[i]->sock, &readSet) || (servers[i]->gnutlsSessionInited && gnutls_record_check_pending(servers[i]->tls) > 0)) { + if (FD_ISSET(servers[i]->sock, &readSet) || servers[i]->hasTlsPendingData()) servers[i]->readAction(); - } } } -- cgit v1.2.3