From d2969d6f715949521e49a9b99c947ada86b1b49f Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 12 Jun 2008 21:42:26 +0200 Subject: ServerConnection hinzugef?gt. --- src/Net/Connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Net/Connection.cpp') diff --git a/src/Net/Connection.cpp b/src/Net/Connection.cpp index bc38ed2..49b51b4 100644 --- a/src/Net/Connection.cpp +++ b/src/Net/Connection.cpp @@ -55,7 +55,7 @@ bool Connection::recieve() { return false; while(true) { - if(!gnutls_record_check_pending(getSession())) + if(!dataPending()) return false; if(read < sizeof(Packet::Data)) { -- cgit v1.2.3