ossp-pkg/pth/pth_high.c 1.76 -> 1.77
--- pth_high.c 2001/03/24 14:51:04 1.76
+++ pth_high.c 2001/07/30 18:29:32 1.77
@@ -926,7 +926,7 @@
we've to mimic the usual blocking I/O behaviour of writev(2) */
if (s > 0 && s < (ssize_t)nbytes) {
nbytes -= s;
- pth_writev_iov_advance(iov, iovcnt, n, &liov, &liovcnt);
+ pth_writev_iov_advance(iov, iovcnt, s, &liov, &liovcnt);
n = 0;
continue;
}
|
|