From: Sergey Matveev Date: Sun, 8 Jan 2017 09:25:00 +0000 (+0300) Subject: Do not print queued packet niceness, it is not useful X-Git-Tag: 0.1~26 X-Git-Url: http://www.git.cypherpunks.ru/?a=commitdiff_plain;h=b1ddc3b3a79e11b72bb383d3bfe994cb81b3a9c5;p=nncp.git Do not print queued packet niceness, it is not useful --- diff --git a/src/cypherpunks.ru/nncp/humanizer.go b/src/cypherpunks.ru/nncp/humanizer.go index fc2ecd0..2be3ac2 100644 --- a/src/cypherpunks.ru/nncp/humanizer.go +++ b/src/cypherpunks.ru/nncp/humanizer.go @@ -76,18 +76,18 @@ func (ctx *Ctx) Humanize(s string) string { switch sds["type"] { case "file": msg = fmt.Sprintf( - "File %s (%s) transfer to %s:%s (nice %s): %s", - sds["src"], size, nodeS, sds["dst"], sds["nice"], rem, + "File %s (%s) transfer to %s:%s: %s", + sds["src"], size, nodeS, sds["dst"], rem, ) case "freq": msg = fmt.Sprintf( - "File request from %s:%s to %s (nice %s): %s", - nodeS, sds["src"], sds["dst"], sds["nice"], rem, + "File request from %s:%s to %s: %s", + nodeS, sds["src"], sds["dst"], rem, ) case "mail": msg = fmt.Sprintf( - "Mail to %s@%s (%s) (nice %s): %s", - nodeS, strings.Replace(sds["dst"], " ", ",", -1), size, sds["nice"], rem, + "Mail to %s@%s (%s): %s", + nodeS, strings.Replace(sds["dst"], " ", ",", -1), size, rem, ) case "trns": msg = fmt.Sprintf(