Skip to content

Commit

Permalink
[XrdTpc] Fix slc6 build.
Browse files Browse the repository at this point in the history
- We are going to stop supporting slc6 after 5.1.0
  • Loading branch information
simonmichal committed Dec 9, 2020
1 parent 8d3e53b commit 874960f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdTpc/XrdTpcState.cc
Expand Up @@ -200,7 +200,7 @@ int State::Write(char *buffer, size_t size) {
}

int State::Flush() {
int retval = m_stream->Write(m_start_offset + m_offset, nullptr, 0, true);
int retval = m_stream->Write(m_start_offset + m_offset, 0, 0, true);
if (retval == SFS_ERROR) {
m_error_buf = m_stream->GetErrorMessage();
m_error_code = 2;
Expand Down

0 comments on commit 874960f

Please sign in to comment.