]> Cypherpunks.ru repositories - nncp.git/commitdiff
We do not log full file size
authorSergey Matveev <stargrave@stargrave.org>
Fri, 6 Jan 2017 11:55:31 +0000 (14:55 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 6 Jan 2017 11:55:31 +0000 (14:55 +0300)
src/cypherpunks.ru/nncp/humanizer.go

index 062c070589ea9f6a42ad7a32083f8e4a2071601c..60ac2dd89ed567e9e694034e5a5b633b933634bf 100644 (file)
@@ -216,7 +216,7 @@ func (ctx *Ctx) Humanize(s string) string {
                case "rx":
                        msg = fmt.Sprintf("File %s is retreived (%s)", sds["hash"], size)
                case "tx":
-                       msg = fmt.Sprintf("File %s is sent (%s)", sds["hash"], size)
+                       msg = fmt.Sprintf("File %s is sent", sds["hash"])
                default:
                        return s
                }