mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 02:41:54 +00:00
...
This commit is contained in:
parent
218df45a78
commit
ea5ed42633
1 changed files with 2 additions and 2 deletions
|
|
@ -202,11 +202,11 @@ func (self *remote_file) write_data(data []byte, is_last bool) (amt_written int6
|
|||
return 0, err
|
||||
}
|
||||
}
|
||||
self.decompressor(data, is_last)
|
||||
err = self.decompressor(data, is_last)
|
||||
if is_last {
|
||||
self.decompressor = nil
|
||||
}
|
||||
if self.actual_file != nil {
|
||||
if self.actual_file != nil && err == nil {
|
||||
pos, err = self.actual_file.tell()
|
||||
if err != nil {
|
||||
return 0, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue