summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Nyman <ted@ted.io>2013-11-08 15:38:41 -0800
committerantirez <antirez@gmail.com>2014-10-06 10:07:01 +0200
commit7e055d4e9cb53214b539da0145aa5ed5fc7738e1 (patch)
tree24459b1e30419147aac2bf2de979e2e7373f2060
parent189c39607abbcdc8593bf2d28fe92d1cc9bc1363 (diff)
downloadredis-7e055d4e9cb53214b539da0145aa5ed5fc7738e1.tar.gz
Fix on-place -> in-place
Closes #1373
-rw-r--r--src/sds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sds.c b/src/sds.c
index f051ea8f7..0ad925b4a 100644
--- a/src/sds.c
+++ b/src/sds.c
@@ -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. */