[Libsysio-commit] RELEASE_1_3: libsysio/dev stddev.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2008-06-16 20:19:03
|
Update of /cvsroot/libsysio/libsysio/dev In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23687 Modified Files: Tag: RELEASE_1_3 stddev.c Log Message: In the doio function, we should not have been returning a non-zero value. That makes the caller believe some error has occurred while posting the request. Fixed. Index: stddev.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/dev/Attic/stddev.c,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -w -b -B -p -r1.1.2.2 -r1.1.2.3 --- stddev.c 16 Jun 2008 20:12:07 -0000 1.1.2.2 +++ stddev.c 16 Jun 2008 20:18:48 -0000 1.1.2.3 @@ -196,7 +196,7 @@ doio(struct ioctx *ioctx, ioctx->ioctx_errno = -ioctx->ioctx_cc; ioctx->ioctx_cc = -1; } - return ioctx->ioctx_cc; + return 0; } static int |