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
5f813035
Commit
5f813035
authored
Sep 07, 2015
by
Salvatore Sanfilippo
Browse files
Merge pull request #2753 from ofirluzon/unstable
SCAN iter parsing changed from atoi to chartoull
parents
467de61c
11381b09
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
5f813035
...
...
@@ -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