summaryrefslogtreecommitdiff
path: root/net/cyphesis/files/patch-tools-cycmd.cpp
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-10-02 19:10:31 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-10-02 19:10:31 +0000
commit2cef7ae1a2f94a7ac077b10bf1e46fc515550ccb (patch)
treeff6c9d920435e46e24b5cf6cf2dddd22f82c4c34 /net/cyphesis/files/patch-tools-cycmd.cpp
parentInstructions for recent split of py-wxPython26 has been split into (diff)
Add cyphesis, a server for WorldForge games
WWW: http://www.worldforge.org/dev/eng/servers/cyphesis
Notes
Notes: svn path=/head/; revision=144003
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);