Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pbf_blocks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ void readBlock(google::protobuf::Message *messagePtr, fstream *inputPtr) {
// read the header length
unsigned int size;
inputPtr->read((char*)&size, sizeof(size));
if (inputPtr->eof()) { return; }
if (inputPtr->eof()) { messagePtr->Clear(); return; }
endian_swap(size);

// get BlobHeader and parse
Expand Down