Skip to content

Commit

Permalink
Packdata отдает TStream
Browse files Browse the repository at this point in the history
  • Loading branch information
ava57r committed Feb 12, 2018
1 parent 8d4144d commit 64e5223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tool1cd/Packdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ TStream* Packdata::get_data(const char* datahash, bool &found) {
pack->Seek(record.offset, soBeginning);
int64_t packlen = 0;
pack->Read(&packlen, sizeof(packlen));
buffer = new TTempStream;
buffer = new TStream;
buffer->CopyFrom(pack.get(), packlen);
buffer->Close();
found = true;
Expand Down

0 comments on commit 64e5223

Please sign in to comment.