summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-12-13 12:01:50 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-12-13 12:01:50 +0000
commit4d5e5f07d7f26999cd6b36046e6fa2df12a7e739 (patch)
tree9c83d4b034e126f0e582eb1dad79ea0092323db8
parent3a2d9ee12807426a2ce72e596c9eefc01fea5bd7 (diff)
zap lvalue assignment, okay markus@. approved miod@
-rw-r--r--sys/netinet/tcp_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 1a5acbb3e78..0f8c64566f5 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_timer.c,v 1.35 2004/11/25 15:32:08 markus Exp $ */
+/* $OpenBSD: tcp_timer.c,v 1.36 2004/12/13 12:01:49 espie Exp $ */
/* $NetBSD: tcp_timer.c,v 1.14 1996/02/13 23:44:09 christos Exp $ */
/*
@@ -216,7 +216,7 @@ tcp_timer_rexmt(void *arg)
rto = TCP_REXMTVAL(tp);
if (rto < tp->t_rttmin)
rto = tp->t_rttmin;
- TCPT_RANGESET((long) tp->t_rxtcur,
+ TCPT_RANGESET(tp->t_rxtcur,
rto * tcp_backoff[tp->t_rxtshift],
tp->t_rttmin, TCPTV_REXMTMAX);
TCP_TIMER_ARM(tp, TCPT_REXMT, tp->t_rxtcur);