Fix on-place -> in-place

Closes #1373
This commit is contained in:
Ted Nyman 2013-11-08 15:38:41 -08:00 committed by Matt Stancliff
parent d9462d2780
commit 39be4bf496

View File

@ -109,7 +109,7 @@ void sdsupdatelen(sds s) {
sh->len = reallen; sh->len = reallen;
} }
/* Modify an sds string on-place to make it empty (zero length). /* Modify an sds string in-place to make it empty (zero length).
* However all the existing buffer is not discarded but set as free space * 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 * so that next append operations will not require allocations up to the
* number of bytes previously available. */ * number of bytes previously available. */