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
39be4bf4
Commit
39be4bf4
authored
Nov 08, 2013
by
Ted Nyman
Committed by
Matt Stancliff
Sep 29, 2014
Browse files
Fix on-place -> in-place
Closes #1373
parent
d9462d27
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sds.c
View file @
39be4bf4
...
...
@@ -109,7 +109,7 @@ void sdsupdatelen(sds s) {
sh
->
len
=
reallen
;
}
/* Modify an sds string
o
n-place to make it empty (zero length).
/* Modify an sds string
i
n-place to make it empty (zero length).
* However all the existing buffer is not discarded but set as free space
* so that next append operations will not require allocations up to the
* number of bytes previously available. */
...
...
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