--- libaitio/src/aio.c 2012/05/14 12:49:21 1.5 +++ libaitio/src/aio.c 2012/08/01 08:51:00 1.5.14.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aio.c,v 1.5 2012/05/14 12:49:21 misho Exp $ +* $Id: aio.c,v 1.5.14.1 2012/08/01 08:51:00 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -107,8 +107,8 @@ io_rread(int fd, void * __restrict buf, size_t nbytes, if (ret == -1) { LOGERR; return -1; - } else - ret = acb.aio_nbytes; + } /*else + ret = acb.aio_nbytes;*/ #else ret = pread(fd, buf, nbytes, offset); if (ret == -1) { @@ -172,8 +172,8 @@ io_rwrite(int fd, void * __restrict buf, size_t nbytes if (ret == -1) { LOGERR; return -1; - } else - ret = acb.aio_nbytes; + } /*else + ret = acb.aio_nbytes;*/ #else ret = pwrite(fd, buf, nbytes, offset); if (ret == -1) {