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
5e75e681
Commit
5e75e681
authored
Dec 12, 2013
by
codeeply
Committed by
antirez
Dec 12, 2013
Browse files
comment mistake fixed
parent
89956340
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sds.c
View file @
5e75e681
...
...
@@ -383,7 +383,7 @@ sds sdstrim(sds s, const char *cset) {
* Example:
*
* s = sdsnew("Hello World");
* sds
trim
(s,1,-1); => "ello Worl"
* sds
range
(s,1,-1); => "ello Worl
d
"
*/
void
sdsrange
(
sds
s
,
int
start
,
int
end
)
{
struct
sdshdr
*
sh
=
(
void
*
)
(
s
-
(
sizeof
(
struct
sdshdr
)));
...
...
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