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
35d71b1f
Commit
35d71b1f
authored
Apr 19, 2015
by
FuGangqiang
Committed by
antirez
May 04, 2015
Browse files
fix typo
parent
66378628
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sds.c
View file @
35d71b1f
...
...
@@ -71,7 +71,7 @@ sds sdsempty(void) {
return
sdsnewlen
(
""
,
0
);
}
/* Create a new sds string starting from a null termined C string. */
/* Create a new sds string starting from a null termin
at
ed C string. */
sds
sdsnew
(
const
char
*
init
)
{
size_t
initlen
=
(
init
==
NULL
)
?
0
:
strlen
(
init
);
return
sdsnewlen
(
init
,
initlen
);
...
...
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