From: Jason Davies Date: Tue, 1 Nov 2011 19:57:51 +0000 (+0000) Subject: Fix minor typos. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/b91cbf66bb527fbc7eef8079e9153fa5357186e2 Fix minor typos. --- diff --git a/src/zipmap.c b/src/zipmap.c index 9f0fc718..65ed29c8 100644 --- a/src/zipmap.c +++ b/src/zipmap.c @@ -298,7 +298,7 @@ unsigned char *zipmapDel(unsigned char *zm, unsigned char *key, unsigned int kle return zm; } -/* Call it before to iterate trought elements via zipmapNext() */ +/* Call before iterating through elements via zipmapNext() */ unsigned char *zipmapRewind(unsigned char *zm) { return zm+1; } @@ -452,7 +452,7 @@ int main(void) { vlen, vlen, value); } } - printf("\nIterate trought elements:\n"); + printf("\nIterate through elements:\n"); { unsigned char *i = zipmapRewind(zm); unsigned char *key, *value;