Fix on-place -> in-place

Closes #1373
This commit is contained in:
Ted Nyman
2014-10-06 10:07:01 +02:00
committed by antirez
parent 189c39607a
commit 7e055d4e9c
+1 -1
View File
@@ -109,7 +109,7 @@ void sdsupdatelen(sds s) {
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
* so that next append operations will not require allocations up to the
* number of bytes previously available. */