From d8d7ade9f35df3a0bd3b33e09aa4cdeeb3fb6a67 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 6 Jan 2017 14:55:31 +0300 Subject: [PATCH] We do not log full file size --- src/cypherpunks.ru/nncp/humanizer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cypherpunks.ru/nncp/humanizer.go b/src/cypherpunks.ru/nncp/humanizer.go index 062c070..60ac2dd 100644 --- a/src/cypherpunks.ru/nncp/humanizer.go +++ b/src/cypherpunks.ru/nncp/humanizer.go @@ -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 } -- 2.48.1