Commit cd82b89f authored by Egon Elbre's avatar Egon Elbre

log: fix megacheck warnings

parent b159cdd8
...@@ -330,7 +330,7 @@ func escapeString(s string) string { ...@@ -330,7 +330,7 @@ func escapeString(s string) string {
needsEscape = true needsEscape = true
} }
} }
if needsEscape == false && needsQuotes == false { if !needsEscape && !needsQuotes {
return s return s
} }
e := stringBufPool.Get().(*bytes.Buffer) e := stringBufPool.Get().(*bytes.Buffer)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment