Update of /cvsroot/boost/boost/libs/asio/example/serialization
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6794/serialization
Modified Files:
client.cpp server.cpp
Log Message:
Fix error_code output.
Index: client.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/asio/example/serialization/client.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- client.cpp 4 Jan 2007 05:53:06 -0000 1.4
+++ client.cpp 20 Feb 2007 13:18:37 -0000 1.5
@@ -67,7 +67,7 @@
// An error occurred. Log it and return. Since we are not starting a new
// operation the io_service will run out of work to do and the client
will
// exit.
- std::cerr << e << std::endl;
+ std::cerr << e.message() << std::endl;
}
}
@@ -95,7 +95,7 @@
else
{
// An error occurred.
- std::cerr << e << std::endl;
+ std::cerr << e.message() << std::endl;
}
// Since we are not starting a new operation the io_service will run out of
Index: server.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/asio/example/serialization/server.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- server.cpp 4 Jan 2007 05:53:06 -0000 1.4
+++ server.cpp 20 Feb 2007 13:18:37 -0000 1.5
@@ -84,7 +84,7 @@
// An error occurred. Log it and return. Since we are not starting a new
// accept operation the io_service will run out of work to do and the
// server will exit.
- std::cerr << e << std::endl;
+ std::cerr << e.message() << std::endl;
}
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs