]> Sergey Matveev's repositories - uploader.git/blobdiff - ucspi.go
Raise copyright years
[uploader.git] / ucspi.go
index 105bae0e0d44131d2e0448eac3d21199a2f0a49f..509e19120da843456415f5301734010157fd6658 100644 (file)
--- a/ucspi.go
+++ b/ucspi.go
@@ -1,6 +1,6 @@
 /*
 uploader -- simplest form file uploader
-Copyright (C) 2018-2021 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2018-2023 Sergey Matveev <stargrave@stargrave.org>
 
 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 {