X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/bd7e05d7996e67cf12a0b01fe9286ef2813432f4..41979ff87c1bc59e30c91c67edab535806d77812:/io.c diff --git a/io.c b/io.c index c42c1c7e..fc62e452 100644 --- a/io.c +++ b/io.c @@ -119,7 +119,7 @@ static int read_timeout(int fd, char *buf, int len) if (n == 0) { if (eof_error) { - rprintf(FERROR,"EOF in read_timeout\n"); + rprintf(FERROR,"unexpected EOF in read_timeout\n"); } exit_cleanup(1); } @@ -238,7 +238,7 @@ static void readfd(int fd,char *buffer,int N) int ret; int total=0; - if (read_buffer_len < N && N < 1024) { + if ((read_buffer_len < N) && (N < 1024)) { read_check(buffer_f_in); }