make a function static
[rsync/rsync.git] / io.c
diff --git a/io.c b/io.c
index 2575dc4..c2c43ca 100644 (file)
--- a/io.c
+++ b/io.c
@@ -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);
        }
        
@@ -380,7 +380,6 @@ static void writefd_unbuffered(int fd,char *buf,int len)
 
                        if (io_timeout)
                                last_io = time(NULL);
-                       continue;
                }
        }