X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/0f3203c312c3e254b611a1687f8ff9a6bdf82376..b2999e457fd3f0e4ca90c6bcc5c06e112be72c3c:/io.c?ds=sidebyside diff --git a/io.c b/io.c index c01296da..f948147e 100644 --- a/io.c +++ b/io.c @@ -364,8 +364,6 @@ static void writefd_unbuffered(int fd,char *buf,int len) if (FD_ISSET(fd, &w_fds)) { int ret, n = len-total; - if (n > PIPE_BUF) n = PIPE_BUF; - ret = write(fd,buf+total,n?n:1); if (ret == -1 && errno == EINTR) {