Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b536f47
)
fix the problem of --timeout waiting for twice the specified time.
author
Andrew Tridgell
<tridge@samba.org>
Thu, 2 Jul 1998 02:48:09 +0000
(
02:48
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 2 Jul 1998 02:48:09 +0000
(
02:48
+0000)
io.c
patch
|
blob
|
blame
|
history
diff --git
a/io.c
b/io.c
index
d7140d2
..
469eef3
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-54,8
+54,8
@@
static void check_timeout(void)
t = time(NULL);
t = time(NULL);
- if (last_io && io_timeout && (t-last_io)
>
io_timeout) {
- rprintf(FERROR,"
read
timeout after %d second - exiting\n",
+ if (last_io && io_timeout && (t-last_io)
>=
io_timeout) {
+ rprintf(FERROR,"
io
timeout after %d second - exiting\n",
(int)(t-last_io));
exit_cleanup(1);
}
(int)(t-last_io));
exit_cleanup(1);
}