summaryrefslogtreecommitdiff
path: root/net/cyphesis/files/patch-tools-cycmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net/cyphesis/files/patch-tools-cycmd.cpp')
-rw-r--r--net/cyphesis/files/patch-tools-cycmd.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/cyphesis/files/patch-tools-cycmd.cpp b/net/cyphesis/files/patch-tools-cycmd.cpp
new file mode 100644
index 000000000000..ede187aa0a7b
--- /dev/null
+++ b/net/cyphesis/files/patch-tools-cycmd.cpp
@@ -0,0 +1,20 @@
+--- tools/cycmd.cpp.orig Sun Oct 2 18:15:03 2005
++++ tools/cycmd.cpp Sun Oct 2 18:15:34 2005
+@@ -589,7 +589,7 @@
+ int Interactive<Stream>::negotiate()
+ {
+ // Do client negotiation with the server
+- Atlas::Net::StreamConnect conn("cycmd", ios, *this);
++ Atlas::Net::StreamConnect conn("cycmd", ios);
+
+ std::cout << "Negotiating... " << std::flush;
+ while (conn.getState() == Atlas::Negotiate::IN_PROGRESS) {
+@@ -606,7 +606,7 @@
+ // Negotiation was successful
+
+ // Get the codec that negotiation established
+- codec = conn.getCodec();
++ codec = conn.getCodec(*this);
+
+ // Create the encoder
+ encoder = new Atlas::Objects::ObjectsEncoder(*codec);