aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--log/format.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/log/format.go b/log/format.go
index 6c19c7a55..0b07abb2a 100644
--- a/log/format.go
+++ b/log/format.go
@@ -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)