From 0ed5132769e88cb385b5240986b706430f0ccd72 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Sun, 16 Jun 2024 16:03:54 -0700 Subject: Fix broken io.Reader implementations --- hotline/file_transfer.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hotline/file_transfer.go') diff --git a/hotline/file_transfer.go b/hotline/file_transfer.go index ba4a1e1..7c24109 100644 --- a/hotline/file_transfer.go +++ b/hotline/file_transfer.go @@ -11,11 +11,11 @@ import ( // File transfer types const ( - FileDownload = 0 - FileUpload = 1 - FolderDownload = 2 - FolderUpload = 3 - bannerDownload = 4 + FileDownload = iota + FileUpload + FolderDownload + FolderUpload + bannerDownload ) type FileTransfer struct { -- cgit