From 2cef7ae1a2f94a7ac077b10bf1e46fc515550ccb Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Sun, 2 Oct 2005 19:10:31 +0000 Subject: Add cyphesis, a server for WorldForge games WWW: http://www.worldforge.org/dev/eng/servers/cyphesis --- net/cyphesis/files/patch-tools-cycmd.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 net/cyphesis/files/patch-tools-cycmd.cpp (limited to 'net/cyphesis/files/patch-tools-cycmd.cpp') 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::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); -- cgit v1.2.3