From: Sergey Matveev Date: Sat, 20 Feb 2021 11:16:45 +0000 (+0300) Subject: Fix boolean variable printing X-Git-Tag: v6.1.0^2~7 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2c467b426bac7650f2d91cf06913c74ee8337ee2;p=nncp.git Fix boolean variable printing --- diff --git a/src/log.go b/src/log.go index 5c98bd7..25a4946 100644 --- a/src/log.go +++ b/src/log.go @@ -43,6 +43,8 @@ func (les LEs) Rec() string { switch v := le.V.(type) { case int, int8, uint8, int64, uint64: val = fmt.Sprintf("%d", v) + case bool: + val = fmt.Sprintf("%v", v) default: val = fmt.Sprintf("%s", v) }