Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxiaoquan233 committed May 9, 2020
1 parent a9b7a0a commit 2625122
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/src/Client/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ bool Client::read_file_slice(const char* input_file_name)
//continue from previous point
FILE* file_ptr = file->get_file();
int file_offset = file->get_base_offset() + (slice_num - 1) * file->get_slice_len();
if (file_offset != 0) file_offset += header_len;
fseek(file_ptr, file_offset, SEEK_SET);

int header_offset = file->get_offset();
Expand Down

0 comments on commit 2625122

Please sign in to comment.