From 482e083b76b2ed83481aa7db8ea3c02f2d3d7f35 Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Mon, 21 Apr 2008 05:52:20 +0000 Subject: [PATCH] Remove a local variable that was hiding the ec parameter and preventing error codes from being correctly propagated. Fixes #1820. [SVN r44679] --- include/boost/asio/detail/win_iocp_socket_service.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/include/boost/asio/detail/win_iocp_socket_service.hpp b/include/boost/asio/detail/win_iocp_socket_service.hpp index 3b4a7c25..b8611a97 100644 --- a/include/boost/asio/detail/win_iocp_socket_service.hpp +++ b/include/boost/asio/detail/win_iocp_socket_service.hpp @@ -1768,7 +1768,6 @@ public: for (;;) { - boost::system::error_code ec; socket_holder new_socket; std::size_t addr_len = 0; if (peer_endpoint)