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
42b36c5c
Commit
42b36c5c
authored
Apr 19, 2015
by
FuGangqiang
Browse files
fix typo
parent
6c60526d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sds.c
View file @
42b36c5c
...
...
@@ -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