summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2011-06-15 21:58:01 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2011-06-15 21:58:01 +0000
commitee83fc0de0a4c292022d9ce04c8fed99c3339843 (patch)
tree8a691d44a6ad54e147b9692a8f7beae2862ea4ad
parentff4dc67299e62f35d32dfde8915148a86069bd31 (diff)
Notes
-rw-r--r--lib/libstand/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/net.c b/lib/libstand/net.c
index 81b4521c4c02..24593e6d2ecd 100644
--- a/lib/libstand/net.c
+++ b/lib/libstand/net.c
@@ -100,7 +100,7 @@ sendrecv(struct iodesc *d,
cc, ssize);
tleft = tmo;
- tmo <<= 1;
+ tmo += MINTMO;
if (tmo > MAXTMO)
tmo = MAXTMO;