aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/search.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/search.go')
-rw-r--r--plugins/base/search.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/search.go b/plugins/base/search.go
index 4d8cef8..fd85f88 100644
--- a/plugins/base/search.go
+++ b/plugins/base/search.go
@@ -87,7 +87,7 @@ func splitSearchTokens(buf []byte, eof bool) (int, []byte, error) {
terminator int
quoted bool
)
- if colon + 1 < len(buf) && buf[colon+1] == byte('"') {
+ if colon+1 < len(buf) && buf[colon+1] == byte('"') {
terminator = bytes.IndexByte(buf[colon+2:], byte('"'))
terminator += colon + 3
quoted = true