Changeset 18801 for branches


Ignore:
Timestamp:
04/02/17 22:52:47 (8 years ago)
Author:
(none)
Message:
prevent building a backlog of messages in buffer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FACT++_lidctrl_usb/src/lidctrl_usb.cc

    r18788 r18801  
    117117    {
    118118        CollectBytes(bytes_received);
    119         if (fCollectedBytes.size() > 2*sizeof(complete_message_t))
     119        while (fCollectedBytes.size() > 2*sizeof(complete_message_t))
    120120        {
    121121            TruncateUntilStartFlagFound();
Note: See TracChangeset for help on using the changeset viewer.