diff options
author | antirez <antirez@gmail.com> | 2020-04-14 11:23:44 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-04-15 16:03:16 +0200 |
commit | 8f896e57ae15c8ce24a0d417224b0eb17520f1ee (patch) | |
tree | c8409dd9d789cb28cca9bf722bfdabbad594098f | |
parent | 8f5157058b54de6a81ec4b55cf72b401ab562035 (diff) | |
download | redis-8f896e57ae15c8ce24a0d417224b0eb17520f1ee.tar.gz |
Fix zsetAdd() top comment spelling.
-rw-r--r-- | src/t_zset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/t_zset.c b/src/t_zset.c index 147313d53..5c000e76f 100644 --- a/src/t_zset.c +++ b/src/t_zset.c @@ -1301,14 +1301,14 @@ int zsetScore(robj *zobj, sds member, double *score) { * none could be set if we re-added an element using the same score it used * to have, or in the case a zero increment is used). * - * The function returns 0 on erorr, currently only when the increment + * The function returns 0 on error, currently only when the increment * produces a NAN condition, or when the 'score' value is NAN since the * start. * - * The commad as a side effect of adding a new element may convert the sorted + * The command as a side effect of adding a new element may convert the sorted * set internal encoding from ziplist to hashtable+skiplist. * - * Memory managemnet of 'ele': + * Memory management of 'ele': * * The function does not take ownership of the 'ele' SDS string, but copies * it if needed. */ |