projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add a changelog entry
[debian/amanda]
/
common-src
/
protocol.c
diff --git
a/common-src/protocol.c
b/common-src/protocol.c
index 3cad500f71b56e16d881f7998eeac56a24993f7f..932cfc3ceb7011cbe18a31c2cc61d894572c4f30 100644
(file)
--- a/
common-src/protocol.c
+++ b/
common-src/protocol.c
@@
-602,6
+602,8
@@
s_repwait(
}
else if(pkt->type == P_PREP) {
p->timeout = p->repwait - CURTIME + p->curtime + 1;
+ if (p->timeout <= 0)
+ p->timeout = 1;
return (PA_CONTPEND);
}