Revision 81ad8b66 src/eventlog/eventlog.cc

View differences:

src/eventlog/eventlog.cc
62 62
        firstEvent = NULL;
63 63
        lastEvent = NULL;
64 64

  
65
        legacyTrace = true;
66

  
65 67
        messageNames.clear();
66 68
        messageClassNames.clear();
67 69

  
......
404 406
void EventLog::parseEvent(Event *event, file_offset_t beginOffset)
405 407
{
406 408
    event->parse(reader, beginOffset);
409
    if(event->getEventEndEntry() != NULL)
410
        legacyTrace = false;
411

  
407 412
    cacheEntry(event->getEventNumber(), event->getSimulationTime(), event->getBeginOffset(), event->getEndOffset());
408 413
    cacheEventLogEntries(event);
409 414
    numParsedEvents++;

Also available in: Unified diff