Skip to content

Commit

Permalink
404 on index bigger than number of results
Browse files Browse the repository at this point in the history
  • Loading branch information
dullgiulio committed Apr 10, 2015
1 parent 3e89e81 commit 9e7a51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (c *caches) respond(r cacheRequest) {
}

if r.index >= lfiles {
r.index = lfiles - 1
return
}

if !r.oldest {
Expand Down

0 comments on commit 9e7a51b

Please sign in to comment.