X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=ucspi.go;h=509e19120da843456415f5301734010157fd6658;hb=022bdcd88f70a8e9e1865bc2195558f2833960dc;hp=105bae0e0d44131d2e0448eac3d21199a2f0a49f;hpb=b9b48a3e2d1c9dca2e0b2c9668e69dc892a2efee;p=uploader.git diff --git a/ucspi.go b/ucspi.go index 105bae0..509e191 100644 --- a/ucspi.go +++ b/ucspi.go @@ -1,6 +1,6 @@ /* uploader -- simplest form file uploader -Copyright (C) 2018-2021 Sergey Matveev +Copyright (C) 2018-2023 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -65,7 +65,7 @@ func (conn *UCSPIConn) Close() error { if err := os.Stdin.Close(); err != nil { return err } - return os.Stdin.Close() + return os.Stdout.Close() } func (conn *UCSPIConn) LocalAddr() net.Addr {