Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54377 - trunk/boost/asio/detail
From: chris_at_[hidden]
Date: 2009-06-26 09:55:26


Author: chris_kohlhoff
Date: 2009-06-26 09:55:24 EDT (Fri, 26 Jun 2009)
New Revision: 54377
URL: http://svn.boost.org/trac/boost/changeset/54377

Log:
Remove a local variable that was hiding the ec parameter and preventing
error codes from being correctly propagated. Ref #3216.

Text files modified:
   trunk/boost/asio/detail/reactive_socket_service.hpp | 1 -
   1 files changed, 0 insertions(+), 1 deletions(-)

Modified: trunk/boost/asio/detail/reactive_socket_service.hpp
==============================================================================
--- trunk/boost/asio/detail/reactive_socket_service.hpp (original)
+++ trunk/boost/asio/detail/reactive_socket_service.hpp 2009-06-26 09:55:24 EDT (Fri, 26 Jun 2009)
@@ -1454,7 +1454,6 @@
     for (;;)
     {
       // Try to complete the operation without blocking.
- boost::system::error_code ec;
       socket_holder new_socket;
       std::size_t addr_len = 0;
       if (peer_endpoint)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk