Revision 0ffda1dd src/eventlog/event.cc

View differences:

src/eventlog/event.cc
130 130

  
131 131
        EventLogEntry *eventLogEntry = EventLogEntry::parseEntry(this, index, line, reader->getCurrentLineLength());
132 132

  
133
        // check for eventEndEntries. We do not include such entries in the eventLogEntries
134
        // for backwards compatibility with other plugins (e.g., eventTable)
135
        EventEndEntry * readEventEndEntry = dynamic_cast<EventEndEntry*>(eventLogEntry);
136
        if(readEventEndEntry) {
137
            eventEndEntry = readEventEndEntry;
138
            continue;
139
        }
140

  
133 141
        // skip empty lines
134 142
        if (!eventLogEntry)
135 143
            continue;
......
151 159

  
152 160
        Assert(eventEntry);
153 161

  
154
        EventEndEntry * readEventEndEntry = dynamic_cast<EventEndEntry*>(eventLogEntry);
155

  
156
        if(readEventEndEntry) {
157
            eventEndEntry = readEventEndEntry;
158
            continue;
159
        }
160

  
161 162
        // handle module method end
162 163
        ModuleMethodEndEntry *moduleMethodEndEntry = dynamic_cast<ModuleMethodEndEntry *>(eventLogEntry);
163 164
        if (moduleMethodEndEntry)

Also available in: Unified diff