diff options
author | Treeki <treeki@gmail.com> | 2014-01-16 20:49:32 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2014-01-16 20:49:32 +0100 |
commit | 405ca8738af0d3776dbe56a691cd43e57add6295 (patch) | |
tree | 613ec19e680ce426bb193d46362c4b239abbbc47 /core.cpp | |
parent | b61d25d0d80668faf2df22a6f04bc9509c3fae23 (diff) | |
download | bounce4-405ca8738af0d3776dbe56a691cd43e57add6295.tar.gz bounce4-405ca8738af0d3776dbe56a691cd43e57add6295.zip |
oops, forgot to change one call to use SocketRWCommon::hasTlsPendingData
Diffstat (limited to 'core.cpp')
-rw-r--r-- | core.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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(); - } } } |