summaryrefslogtreecommitdiffstats
path: root/lib/libstand/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libstand/net.c')
-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 81b4521..24593e6 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;
OpenPOWER on IntegriCloud