aboutsummaryrefslogtreecommitdiff
path: root/src/protocolgats.cpp
diff options
context:
space:
mode:
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