summaryrefslogtreecommitdiff
path: root/src/bitops.c
diff options
context:
space:
mode:
authorguiquanz <nantangguyun@gmail.com>2013-01-17 01:00:20 +0800
committerantirez <antirez@gmail.com>2013-01-19 11:03:19 +0100
commit1caf09399efbe2fcfa3a4e04b7fca6ea7a23a793 (patch)
tree190cd6996e4b600a4e67c398db17d8e7745138ca /src/bitops.c
parentff1e4d22a67c9de04d3b26c5840e9b97095bfa64 (diff)
downloadredis-1caf09399efbe2fcfa3a4e04b7fca6ea7a23a793.tar.gz
Fixed many typos.
Conflicts fixed, mainly because 2.8 has no cluster support / files: 00-RELEASENOTES src/cluster.c src/crc16.c src/redis-trib.rb src/redis.h
Diffstat (limited to 'src/bitops.c')
-rw-r--r--src/bitops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bitops.c b/src/bitops.c
index 3ef0a8f3d..75f3317a9 100644
--- a/src/bitops.c
+++ b/src/bitops.c
@@ -34,7 +34,7 @@
* Helpers and low level bit functions.
* -------------------------------------------------------------------------- */
-/* This helper function used by GETBIT / SETBIT parses the bit offset arguemnt
+/* This helper function used by GETBIT / SETBIT parses the bit offset argument
* making sure an error is returned if it is negative or if it overflows
* Redis 512 MB limit for the string value. */
static int getBitOffsetFromArgument(redisClient *c, robj *o, size_t *offset) {
@@ -189,7 +189,7 @@ void bitopCommand(redisClient *c) {
char *opname = c->argv[1]->ptr;
robj *o, *targetkey = c->argv[2];
long op, j, numkeys;
- robj **objects; /* Array of soruce objects. */
+ robj **objects; /* Array of source objects. */
unsigned char **src; /* Array of source strings pointers. */
long *len, maxlen = 0; /* Array of length of src strings, and max len. */
long minlen = 0; /* Min len among the input keys. */