Changeset 1166

Show
Ignore:
Timestamp:
08/27/09 09:51:12 (7 months ago)
Author:
aj
Message:

abort if retries reach 0 or something other than EIO was returned.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/ifd/sys-bsd.c

    r1164 r1166  
    352352                         strerror(errno), errno); 
    353353                retries--; 
     354                if ((retries == 0) || (errno != EIO))  
     355                        return IFD_ERROR_COMM_ERROR; 
    354356        } 
    355357