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
c55254a5
Commit
c55254a5
authored
Dec 05, 2018
by
hdmg
Committed by
antirez
Dec 11, 2018
Browse files
fix comments fault discription
parent
dfd25013
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sds.c
View file @
c55254a5
...
@@ -695,7 +695,7 @@ sds sdscatfmt(sds s, char const *fmt, ...) {
...
@@ -695,7 +695,7 @@ sds sdscatfmt(sds s, char const *fmt, ...) {
* s = sdstrim(s,"Aa. :");
* s = sdstrim(s,"Aa. :");
* printf("%s\n", s);
* printf("%s\n", s);
*
*
* Output will be just "Hello
World".
* Output will be just "HelloWorld".
*/
*/
sds
sdstrim
(
sds
s
,
const
char
*
cset
)
{
sds
sdstrim
(
sds
s
,
const
char
*
cset
)
{
char
*
start
,
*
end
,
*
sp
,
*
ep
;
char
*
start
,
*
end
,
*
sp
,
*
ep
;
...
...
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