From: Sergey Matveev Date: Fri, 6 Jan 2017 11:55:31 +0000 (+0300) Subject: We do not log full file size X-Git-Tag: 0.1~39 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d8d7ade9f35df3a0bd3b33e09aa4cdeeb3fb6a67;p=nncp.git We do not log full file size --- 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 }