log: fix megacheck warnings

This commit is contained in:
Egon Elbre 2017-08-06 19:35:37 +03:00
parent b159cdd8dd
commit cd82b89fde

@ -330,7 +330,7 @@ func escapeString(s string) string {
needsEscape = true
}
}
if needsEscape == false && needsQuotes == false {
if !needsEscape && !needsQuotes {
return s
}
e := stringBufPool.Get().(*bytes.Buffer)