diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-02-28 20:33:46 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-02-28 20:33:46 +0000 |
commit | 2dd4b9e3a34c3c94fd475de7472e7244e83a48fa (patch) | |
tree | f4a13055c9b4672138344dd45488018229acc69b /anyctr.cpp | |
parent | removed newlines from muxsocket (diff) |
sync fixes
Diffstat (limited to 'anyctr.cpp')
-rw-r--r-- | anyctr.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -89,8 +89,11 @@ void createConnection(const std::string & remote_host, u_int16_t remote_port, Co const SyncCommand scom(cl,mux); const SyncCommand scom2 (prefix); oa << scom; - oa << scom2; std::cout << sout.str() << std::endl; + std::ostringstream sout2; + boost::archive::text_oarchive oa2(sout2); + oa2 << scom2; + std::cout << sout2.str() << std::endl; } int main(int argc, char* argv[]) |