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
3ff2d65f
Commit
3ff2d65f
authored
Sep 07, 2015
by
ubuntu
Committed by
antirez
Sep 07, 2015
Browse files
SCAN iter parsing changed from atoi to chartoull
parent
194b7e21
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
3ff2d65f
...
...
@@ -1566,7 +1566,7 @@ static redisReply *sendScan(unsigned long long *it) {
assert
(
reply
->
element
[
1
]
->
type
==
REDIS_REPLY_ARRAY
);
/* Update iterator */
*
it
=
atoi
(
reply
->
element
[
0
]
->
str
);
*
it
=
strtoull
(
reply
->
element
[
0
]
->
str
,
NULL
,
10
);
return
reply
;
}
...
...
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