Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
78dd2b31
Commit
78dd2b31
authored
Feb 04, 2015
by
antirez
Browse files
Merge branch 'unstable' of github.com:/antirez/redis into unstable
parents
c5dd686e
719c6c2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sort.c
View file @
78dd2b31
...
...
@@ -354,7 +354,7 @@ void sortCommand(redisClient *c) {
listTypeIterator
*
li
;
listTypeEntry
entry
;
li
=
listTypeInitIterator
(
sortval
,
desc
?
listTypeLength
(
sortval
)
-
start
-
1
:
start
,
desc
?
(
long
)(
listTypeLength
(
sortval
)
-
start
-
1
)
:
start
,
desc
?
REDIS_HEAD
:
REDIS_TAIL
);
while
(
j
<
vectorlen
&&
listTypeNext
(
li
,
&
entry
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment