Boost logo

Boost-Commit :

From: chris_at_[hidden]
Date: 2008-04-21 01:52:20


Author: chris_kohlhoff
Date: 2008-04-21 01:52:20 EDT (Mon, 21 Apr 2008)
New Revision: 44679
URL: http://svn.boost.org/trac/boost/changeset/44679

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

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

Modified: trunk/boost/asio/detail/win_iocp_socket_service.hpp
==============================================================================
--- trunk/boost/asio/detail/win_iocp_socket_service.hpp (original)
+++ trunk/boost/asio/detail/win_iocp_socket_service.hpp 2008-04-21 01:52:20 EDT (Mon, 21 Apr 2008)
@@ -1768,7 +1768,6 @@
 
     for (;;)
     {
- 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