diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-05 15:27:48 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-05 15:27:48 -0700 |
| commit | d1cd666473e5d9097b34bad3388c8c0595612089 (patch) | |
| tree | c399983c005acd88a28ca7c3e934ad700e2a3c86 /hotline/file_transfer.go | |
| parent | 050407a3b7f719ed6ce9367eb803bf948075e50e (diff) | |
Implement file preview
Diffstat (limited to 'hotline/file_transfer.go')
| -rw-r--r-- | hotline/file_transfer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/file_transfer.go b/hotline/file_transfer.go index 65ef0b0..9e86bb8 100644 --- a/hotline/file_transfer.go +++ b/hotline/file_transfer.go @@ -24,6 +24,7 @@ type FileTransfer struct { BytesSent int clientID uint16 fileResumeData *FileResumeData + options []byte } func (ft *FileTransfer) String() string { @@ -61,7 +62,6 @@ func readFolderUpload(buf []byte) folderUpload { return fu } - func (fu *folderUpload) UnmarshalBinary(b []byte) error { fu.DataSize = [2]byte{b[0], b[1]} fu.IsFolder = [2]byte{b[2], b[3]} |