summaryrefslogtreecommitdiffstats
path: root/src/matcher.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-02-17 19:28:10 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-02-17 19:28:10 +0900
commitd760b790b37a5d26b3068ed9f5b4efcaa3cf5cae (patch)
tree7f8d398182f207b8505ae8cbf1c0c1405899d163 /src/matcher.go
parent1b5599972abb1ca4d1498ec1dfe9bc041f8d238a (diff)
Fix typo in code
Diffstat (limited to 'src/matcher.go')
-rw-r--r--src/matcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/matcher.go b/src/matcher.go
index 1ea9541b..bbd9c890 100644
--- a/src/matcher.go
+++ b/src/matcher.go
@@ -183,7 +183,7 @@ func (m *Matcher) scan(request MatchRequest, limit int) (*Merger, bool) {
break
}
- if !empty && m.reqBox.Peak(reqReset) {
+ if !empty && m.reqBox.Peek(reqReset) {
return nil, wait()
}