Ignore:
Timestamp:
05/25/11 16:27:17 (13 years ago)
Author:
tbretz
Message:
Handle operation_aborted in timeouts
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fadctrl.cc

    r10821 r10824  
    206206    void HandleReadTimeout(const bs::error_code &error)
    207207    {
    208         if (error && error!=ba::error::basic_errors::operation_aborted)
     208        if (error==ba::error::basic_errors::operation_aborted)
     209            return;
     210
     211        if (error)
    209212        {
    210213            ostringstream str;
     
    223226            return;
    224227        }
    225 
    226         if (error==ba::error::basic_errors::operation_aborted)
    227             return;
    228228
    229229        // Check whether the deadline has passed. We compare the deadline
Note: See TracChangeset for help on using the changeset viewer.