From 3362fec760c7bb1668225cca69f620cdd8d70eae Mon Sep 17 00:00:00 2001 From: Victor Grishchenko Date: Tue, 9 Feb 2010 15:49:07 +0100 Subject: [PATCH] more asserts --- sendrecv.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sendrecv.cpp b/sendrecv.cpp index 49e9686..a47a3f5 100644 --- a/sendrecv.cpp +++ b/sendrecv.cpp @@ -413,6 +413,7 @@ void Channel::CleanDataOut (bin64_t ackd_pos) { // TODO: isn't it too long? } while (!data_out_.empty() && data_out_.front().bin==bin64_t::NONE) data_out_.pop_front(); + assert(data_out_.empty() || data_out_.front().time!=TINT_NEVER); } -- 2.20.1