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
907e06cd
Commit
907e06cd
authored
Oct 25, 2013
by
antirez
Browse files
SCAN: remove additional newlines to conform to Redis code base.
parent
b44f1589
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/db.c
View file @
907e06cd
...
@@ -381,12 +381,10 @@ void scanCommand(redisClient *c) {
...
@@ -381,12 +381,10 @@ void scanCommand(redisClient *c) {
decrRefCount
(
kobj
);
decrRefCount
(
kobj
);
listDelNode
(
keys
,
ln
);
listDelNode
(
keys
,
ln
);
}
}
ln
=
ln_
;
ln
=
ln_
;
}
}
addReplyMultiBulkLen
(
c
,
2
);
addReplyMultiBulkLen
(
c
,
2
);
rv
=
snprintf
(
buf
,
sizeof
(
buf
),
"%lu"
,
cursor
);
rv
=
snprintf
(
buf
,
sizeof
(
buf
),
"%lu"
,
cursor
);
redisAssert
(
rv
<
sizeof
(
buf
));
redisAssert
(
rv
<
sizeof
(
buf
));
addReplyBulkCBuffer
(
c
,
buf
,
rv
);
addReplyBulkCBuffer
(
c
,
buf
,
rv
);
...
@@ -405,7 +403,6 @@ cleanup:
...
@@ -405,7 +403,6 @@ cleanup:
decrRefCount
(
kobj
);
decrRefCount
(
kobj
);
listDelNode
(
keys
,
ln
);
listDelNode
(
keys
,
ln
);
}
}
listRelease
(
keys
);
listRelease
(
keys
);
}
}
...
...
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