summaryrefslogtreecommitdiff
path: root/src/lib/timerwheel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/timerwheel.c')
-rw-r--r--src/lib/timerwheel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/timerwheel.c b/src/lib/timerwheel.c
index cf4e1eef..7f43210f 100644
--- a/src/lib/timerwheel.c
+++ b/src/lib/timerwheel.c
@@ -200,7 +200,7 @@ static void timerwheel_move(void)
if (r->seqno == r->frcti->rttseq) {
r->frcti->rto +=
- f->frcti->rto >> RTO_DIV;
+ r->frcti->rto >> RTO_DIV;
r->frcti->probe = false;
}
#ifdef PROC_FLOW_STATS
@@ -372,8 +372,8 @@ static int timerwheel_rxm(struct frcti * frcti,
return 0;
}
-static int timerwheel_ack(int fd,
- struct frcti * frcti)
+static int timerwheel_delayed_ack(int fd,
+ struct frcti * frcti)
{
struct timespec now;
struct ack * a;