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
11381b09
Commit
11381b09
authored
Sep 07, 2015
by
ubuntu
Browse files
SCAN iter parsing changed from atoi to chartoull
parent
467de61c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
11381b09
...
...
@@ -1584,7 +1584,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