1.1 --- a/libfsclient/lib/src/file.cc Sat May 11 00:10:59 2024 +0200
1.2 +++ b/libfsclient/lib/src/file.cc Sat May 11 00:49:24 2024 +0200
1.3 @@ -681,9 +681,9 @@
1.4
1.5 long pipe_current(file_t *pipe, int sync)
1.6 {
1.7 - client_Pipe _pipe(pipe->ref);
1.8 + client_Flush _pipe(pipe->ref);
1.9 offset_t data_current;
1.10 - long err = _pipe.current_region(&data_current, &pipe->size, &pipe->end_pos);
1.11 + long err = _pipe.refresh(&data_current, &pipe->size, &pipe->end_pos);
1.12
1.13 if (err)
1.14 return err;