summaryrefslogtreecommitdiff
path: root/net/cyphesis/files/patch-client-ClientConnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net/cyphesis/files/patch-client-ClientConnection.cpp')
-rw-r--r--net/cyphesis/files/patch-client-ClientConnection.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/cyphesis/files/patch-client-ClientConnection.cpp b/net/cyphesis/files/patch-client-ClientConnection.cpp
new file mode 100644
index 000000000000..7d2f5ca5da7f
--- /dev/null
+++ b/net/cyphesis/files/patch-client-ClientConnection.cpp
@@ -0,0 +1,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);
+