syslog support in rsync daemon has been broken since I added the "log
[rsync/rsync.git] / io.c
diff --git a/io.c b/io.c
index 70c6a22..5122a2a 100644 (file)
--- 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));
 }