summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2014-01-16 20:49:32 +0100
committerTreeki <treeki@gmail.com>2014-01-16 20:49:32 +0100
commit405ca8738af0d3776dbe56a691cd43e57add6295 (patch)
tree613ec19e680ce426bb193d46362c4b239abbbc47
parentb61d25d0d80668faf2df22a6f04bc9509c3fae23 (diff)
downloadbounce4-405ca8738af0d3776dbe56a691cd43e57add6295.tar.gz
bounce4-405ca8738af0d3776dbe56a691cd43e57add6295.zip
oops, forgot to change one call to use SocketRWCommon::hasTlsPendingData
Diffstat (limited to '')
-rw-r--r--core.cpp3
1 files changed, 1 insertions, 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();
- }
}
}