blob: 7d2f5ca5da7f180e5bb6258478ccffd2b543e590 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- client/ClientConnection.cpp.orig Sun Oct 2 18:13:33 2005
+++ client/ClientConnection.cpp Sun Oct 2 18:13:55 2005
@@ -172,7 +172,7 @@
int ClientConnection::negotiate()
{
- Atlas::Net::StreamConnect conn("cyphesis_aiclient", ios, *this);
+ Atlas::Net::StreamConnect conn("cyphesis_aiclient", ios);
debug(std::cout << "Negotiating... " << std::flush;);
while (conn.getState() == Atlas::Net::StreamConnect::IN_PROGRESS) {
@@ -185,7 +185,7 @@
return -1;
}
- codec = conn.getCodec();
+ codec = conn.getCodec(*this);
encoder = new Atlas::Objects::ObjectsEncoder(*codec);
|