Commit 4fe396cb authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in update_destination.

Thanks to Julien Cristau.
parent fdd332b6
...@@ -75,10 +75,10 @@ update_destination(struct destination *dest, ...@@ -75,10 +75,10 @@ update_destination(struct destination *dest,
dest->time = now.tv_sec; dest->time = now.tv_sec;
if(dest->requested_seqno >= 0) { if(dest->requested_seqno >= 0) {
if(seqno_minus(dest->requested_seqno, seqno >= 16)) { if(seqno_minus(dest->requested_seqno, seqno) >= 16) {
/* Stale data? */ /* Stale data? */
dest->requested_seqno = -1; dest->requested_seqno = -1;
dest->requested_net = NULL; dest->requested_net = NULL;
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment