Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed wording of an error message
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
2575dc4
..
fc62e45
100644
(file)
--- 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) {
if (n == 0) {
if (eof_error) {
- rprintf(FERROR,"EOF in read_timeout\n");
+ rprintf(FERROR,"
unexpected
EOF in read_timeout\n");
}
exit_cleanup(1);
}
}
exit_cleanup(1);
}
@@
-238,7
+238,7
@@
static void readfd(int fd,char *buffer,int N)
int ret;
int total=0;
int ret;
int total=0;
- if (
read_buffer_len < N && N < 1024
) {
+ if (
(read_buffer_len < N) && (N < 1024)
) {
read_check(buffer_f_in);
}
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);
if (io_timeout)
last_io = time(NULL);
- continue;
}
}
}
}