summaryrefslogtreecommitdiff
path: root/src/seqWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/seqWindow.cpp')
-rw-r--r--src/seqWindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/seqWindow.cpp b/src/seqWindow.cpp
index 1ddd3ca..34ce02c 100644
--- a/src/seqWindow.cpp
+++ b/src/seqWindow.cpp
@@ -140,7 +140,11 @@ bool SeqWindow::checkAndAdd(sender_id_t sender, seq_nr_t seq_nr)
int ret = s->second.window_[pos];
s->second.window_[pos] = 1;
- return ret;
+
+ if(ret)
+ return true;
+
+ return false;
}
void SeqWindow::clear(sender_id_t sender)