]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/toss.go
Raise copyright years
[nncp.git] / src / toss.go
index 6abf278af8ab18cc61e785a80fb0c5565890bcca..05b5a3a6a51cde6862f3f5344bf2d480681f6c1c 100644 (file)
@@ -1,6 +1,6 @@
 /*
 NNCP -- Node to Node copy, utilities for store-and-forward data exchange
-Copyright (C) 2016-2019 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2016-2020 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
@@ -224,8 +224,7 @@ func (ctx *Ctx) Toss(
                                ctx.LogD("rx", sds, "created")
                                bufW := bufio.NewWriter(tmp)
                                if _, err = CopyProgressed(
-                                       bufW,
-                                       pipeR,
+                                       bufW, pipeR, "Rx file",
                                        SdsAdd(sds, SDS{"fullsize": sds["size"]}),
                                        ctx.ShowPrgrs,
                                ); err != nil {