X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c46ded46212c2ea55e43ec661b5a724718a63ec2..6e4fb64e6141727b8144bb77265bf0a4a8450a39:/io.c diff --git a/io.c b/io.c index 70c6a22f..5122a2a2 100644 --- a/io.c +++ b/io.c @@ -337,8 +337,7 @@ static void writefd_unbuffered(int fd,char *buf,int len) fd_count = fd+1; if (!no_flush_read) { - reading = (buffer_f_in != -1 && - read_buffer_len < MAX_READ_BUFFER); + reading = (buffer_f_in != -1); } if (reading) { @@ -485,7 +484,7 @@ void write_buf(int f,char *buf,int len) } /* write a string to the connection */ -void write_sbuf(int f,char *buf) +static void write_sbuf(int f,char *buf) { write_buf(f, buf, strlen(buf)); }