diff --git a/os/Xtrans.c b/os/Xtrans.c index 9194ee11c..3c3e25fae 100644 --- a/os/Xtrans.c +++ b/os/Xtrans.c @@ -1043,7 +1043,7 @@ static int _XSERVTransWriteV (XtransConnInfo ciptr, struct iovec *iov, size_t io base = iov->iov_base; while (len > 0) { register int nbytes; - nbytes = _XSERVTransWrite (ciptr, base, len); + nbytes = ciptr->transptr->Write (ciptr, buf, size); if (nbytes < 0 && total == 0) return -1; if (nbytes <= 0) return total; ESET(0);