Permalink
Browse files

fix zrevrange

  • Loading branch information...
strongh committed May 23, 2011
1 parent 4907bb7 commit eb8ad9b59104d0a46fc4de0df708d3a17e5154fc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj_redis/client.clj
View
@@ -217,7 +217,7 @@
(lease p (fn [^Jedis j] (seq (.zrange j k start end)))))
(defn zrevrange [p ^String k ^Integer start ^Integer end]
- (lease p (fn [^Jedis j] (seq (.zrange j k start end)))))
+ (lease p (fn [^Jedis j] (seq (.zrevrange j k start end)))))
(defn zincrby [p ^String k ^Double s ^String m]
(lease p (fn [^Jedis j] (.zincrby j k s m))))

0 comments on commit eb8ad9b

Please sign in to comment.