Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55500 - trunk/boost/asio/detail
From: chris_at_[hidden]
Date: 2009-08-10 07:38:01


Author: chris_kohlhoff
Date: 2009-08-10 07:38:00 EDT (Mon, 10 Aug 2009)
New Revision: 55500
URL: http://svn.boost.org/trac/boost/changeset/55500

Log:
Add missing returns for failure cases in write_some_at and read_some_at.

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

Modified: trunk/boost/asio/detail/win_iocp_handle_service.hpp
==============================================================================
--- trunk/boost/asio/detail/win_iocp_handle_service.hpp (original)
+++ trunk/boost/asio/detail/win_iocp_handle_service.hpp 2009-08-10 07:38:00 EDT (Mon, 10 Aug 2009)
@@ -357,6 +357,7 @@
       DWORD last_error = ::GetLastError();
       ec = boost::system::error_code(last_error,
           boost::asio::error::get_system_category());
+ return 0;
     }
 
     ec = boost::system::error_code();
@@ -604,6 +605,7 @@
         ec = boost::system::error_code(last_error,
             boost::asio::error::get_system_category());
       }
+ return 0;
     }
 
     ec = boost::system::error_code();


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