and another bug
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2023-03-23 20:56:06 +01:00
parent fd61a3f243
commit 175c0f9961
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -243,14 +243,12 @@ ReturnValue_t PersistentTmStore::loadNextDumpFile() {
static_cast<std::streamsize>(dumpParams.fileSize)); static_cast<std::streamsize>(dumpParams.fileSize));
// Increment iterator for next cycle. // Increment iterator for next cycle.
dumpParams.dirIter++; dumpParams.dirIter++;
break; return returnvalue::OK;
} }
} }
if (dumpParams.dirIter == directory_iterator()) { // Directory iterator was consumed and we are done.
state = State::IDLE; state = State::IDLE;
return DUMP_DONE; return DUMP_DONE;
}
return returnvalue::OK;
} }
ReturnValue_t PersistentTmStore::dumpNextPacket(DirectTmSinkIF& tmSink, size_t& dumpedLen, ReturnValue_t PersistentTmStore::dumpNextPacket(DirectTmSinkIF& tmSink, size_t& dumpedLen,