aboutsummaryrefslogtreecommitdiff
path: root/src/protocolgats.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-10-20 18:35:28 +0000
committerMike Buland <eichlan@xagasoft.com>2010-10-20 18:35:28 +0000
commitb5eb1431c28254bfa90147f9ee4857598384be31 (patch)
tree4f111a568a975d228730f7b2a4898dc7939c8954 /src/protocolgats.cpp
parentd14a4c34d01102baa830c6762ef80b0dc6db6389 (diff)
downloadlibgats-b5eb1431c28254bfa90147f9ee4857598384be31.tar.gz
libgats-b5eb1431c28254bfa90147f9ee4857598384be31.tar.bz2
libgats-b5eb1431c28254bfa90147f9ee4857598384be31.tar.xz
libgats-b5eb1431c28254bfa90147f9ee4857598384be31.zip
Fixed a few minor things.
Diffstat (limited to 'src/protocolgats.cpp')
-rw-r--r--src/protocolgats.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/protocolgats.cpp b/src/protocolgats.cpp
index 2ef6079..827eb65 100644
--- a/src/protocolgats.cpp
+++ b/src/protocolgats.cpp
@@ -3,6 +3,9 @@
3 3
4#include <bu/client.h> 4#include <bu/client.h>
5 5
6#include <bu/sio.h>
7using namespace Bu;
8
6Gats::ProtocolGats::ProtocolGats() : 9Gats::ProtocolGats::ProtocolGats() :
7 pStream( NULL ), 10 pStream( NULL ),
8 pUsedClient( NULL ) 11 pUsedClient( NULL )
@@ -42,7 +45,7 @@ void Gats::ProtocolGats::onNewData( Bu::Client *pClient )
42 Gats::Object *pObj = pStream->readObject(); 45 Gats::Object *pObj = pStream->readObject();
43 if( pObj == NULL ) 46 if( pObj == NULL )
44 break; 47 break;
45 onNewObject( pObj ); 48 onNewObject( pClient, pObj );
46 } 49 }
47} 50}
48 51