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
8cdaf604
Commit
8cdaf604
authored
Oct 25, 2013
by
antirez
Browse files
Fixed typo in SCAN comment. iff -> if.
parent
33409b4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/db.c
View file @
8cdaf604
...
@@ -354,7 +354,7 @@ void scanCommand(redisClient *c) {
...
@@ -354,7 +354,7 @@ void scanCommand(redisClient *c) {
pat
=
c
->
argv
[
i
+
1
]
->
ptr
;
pat
=
c
->
argv
[
i
+
1
]
->
ptr
;
patlen
=
sdslen
(
pat
);
patlen
=
sdslen
(
pat
);
/* The pattern is a no-op if
f
== "*" */
/* The pattern is a no-op if == "*" */
patnoop
=
(
pat
[
0
]
==
'*'
&&
patlen
==
1
);
patnoop
=
(
pat
[
0
]
==
'*'
&&
patlen
==
1
);
i
+=
2
;
i
+=
2
;
...
...
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