summaryrefslogtreecommitdiffstats
path: root/src/Net/Connection.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-06-12 21:42:26 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-06-12 21:42:26 +0200
commitd2969d6f715949521e49a9b99c947ada86b1b49f (patch)
treebb3d0db8509cc2d44c5db174ec26755080639577 /src/Net/Connection.cpp
parent4b0778537ea5f1c4d7592639208e7c235abab260 (diff)
downloadmad-d2969d6f715949521e49a9b99c947ada86b1b49f.tar
mad-d2969d6f715949521e49a9b99c947ada86b1b49f.zip
ServerConnection hinzugef?gt.
Diffstat (limited to 'src/Net/Connection.cpp')
-rw-r--r--src/Net/Connection.cpp2
1 files changed, 1 insertions, 1 deletions
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)) {