From b1ddc3b3a79e11b72bb383d3bfe994cb81b3a9c5 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 8 Jan 2017 12:25:00 +0300 Subject: [PATCH] Do not print queued packet niceness, it is not useful --- src/cypherpunks.ru/nncp/humanizer.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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( -- 2.48.1