From: Salvatore Sanfilippo Date: Fri, 18 Nov 2011 13:34:56 +0000 (-0800) Subject: Merge pull request #173 from jasondavies/typo X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/794e6ce14ff85f00b0d3e86365e9cc45a90d3bcf?hp=e41677b4cf1452c276e5a02e791585a25e02f8f2 Merge pull request #173 from jasondavies/typo Fix some 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;