summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-07-09 19:39:01 +0000
committerMike Buland <eichlan@xagasoft.com>2007-07-09 19:39:01 +0000
commit34ea3c0a672760b93d5263f6e5bc9011dce2b186 (patch)
tree74ced66c2f846fee3098fac2a14abad1b0e1d468 /src/client.cpp
parentb4da565534b3826037576a6c44e40716b024f89a (diff)
downloadlibbu++-34ea3c0a672760b93d5263f6e5bc9011dce2b186.tar.gz
libbu++-34ea3c0a672760b93d5263f6e5bc9011dce2b186.tar.bz2
libbu++-34ea3c0a672760b93d5263f6e5bc9011dce2b186.tar.xz
libbu++-34ea3c0a672760b93d5263f6e5bc9011dce2b186.zip
Updates, the client now tells protocols about new connections, and the hexDump
is less ugly.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 8077b3d..9f0eb21 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -71,6 +71,7 @@ void Bu::Client::processOutput()
71void Bu::Client::setProtocol( Protocol *pProto ) 71void Bu::Client::setProtocol( Protocol *pProto )
72{ 72{
73 this->pProto = pProto; 73 this->pProto = pProto;
74 this->pProto->onNewConnection( this );
74} 75}
75 76
76Bu::Protocol *Bu::Client::getProtocol() 77Bu::Protocol *Bu::Client::getProtocol()