Changeset 15476 for trunk/FACT++/src


Ignore:
Timestamp:
05/01/13 18:01:59 (12 years ago)
Author:
tbretz
Message:
When a new start flag is searched, the one byte was missed -- i am wondering, if not a reconnect would be the better solution
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilder.c

    r15472 r15476  
    992992              if (k >= rd[i].bufPos - 1)
    993993              {
    994                   rd[i].bufPos = 0;
    995                   rd[i].bufLen = sizeof(PEVNT_HEADER);
     994                  rd[i].rBuf->B[0] = rd[i].rBuf->B[rd[i].bufPos];
     995                  rd[i].bufPos = 1;
     996                  rd[i].bufLen = sizeof(PEVNT_HEADER)-1;
    996997                  continue;
    997998              }
Note: See TracChangeset for help on using the changeset viewer.