ossp-pkg/sa/sa.c 1.59 -> 1.60
--- sa.c 2002/10/11 15:27:39 1.59
+++ sa.c 2002/10/25 15:27:29 1.60
@@ -1688,7 +1688,7 @@
else if (n < 0)
/* error on this read, but perhaps ok as a whole */
rv = (res == 0 ? SA_ERR_SYS : SA_OK);
- if (n == 0)
+ else if (n == 0)
/* EOF on this read, but perhaps ok as a whole */
rv = (res == 0 ? SA_ERR_EOF : SA_OK);
else {
|
|