summaryrefslogtreecommitdiff
path: root/syncSocket.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-11 12:31:46 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-11 12:31:46 +0000
commit62c5dcfa2dd117fd7b388d13ab8f33c5867a9636 (patch)
treeae84f36ab1a51a83c799cb062621e7f403e7051e /syncSocket.cpp
parentfixes in mpi class, keyderivation iv generation (diff)
fixed many sync things
fixed warning (multiple key)
Diffstat (limited to 'syncSocket.cpp')
-rw-r--r--syncSocket.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/syncSocket.cpp b/syncSocket.cpp
index b74b365..99f2afb 100644
--- a/syncSocket.cpp
+++ b/syncSocket.cpp
@@ -42,9 +42,9 @@ void SyncSocket::OnAccept()
Send("Number of sockets in list : " + Utility::l2string(Handler().GetCount()) + "\n");
Send("\n");
std::ostringstream sout;
-// boost::archive::text_oarchive oa(sout);
- ConnectionParam conn = cl_.getConnection();
-// oa << conn;
+ boost::archive::text_oarchive oa(sout);
+ const ConnectionParam conn = cl_.getConnection();
+ oa << conn;
Send(sout.str()+"\n");
}