summaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2013-01-27 09:49:15 +0200
committerYossi Gottlieb <yossigo@gmail.com>2013-01-27 09:49:15 +0200
commitacb73e8a972adadd31450dca9ab8cf74cc82a029 (patch)
treeccd1ca55a85aec0af719c8ed1012f13883cd6c15 /src/debug.c
parentd195e8bb8225bae62b8a714b9c02a472bc601e2f (diff)
parentc17a7f6fbc82dc6ab34a788f65adc16e84b5777c (diff)
downloadredis-2.6.9-1.tar.gz
Merge upstream Redis 2.6.9.2.6.9-1
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.c b/src/debug.c
index 9af6a6cc1..45364a292 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -42,7 +42,7 @@
/* ================================= Debugging ============================== */
/* Compute the sha1 of string at 's' with 'len' bytes long.
- * The SHA1 is then xored againt the string pointed by digest.
+ * The SHA1 is then xored against the string pointed by digest.
* Since xor is commutative, this operation is used in order to
* "add" digests relative to unordered elements.
*
@@ -67,7 +67,7 @@ void xorObjectDigest(unsigned char *digest, robj *o) {
}
/* This function instead of just computing the SHA1 and xoring it
- * against diget, also perform the digest of "digest" itself and
+ * against digest, also perform the digest of "digest" itself and
* replace the old value with the new one.
*
* So the final digest will be: