]> git.saurik.com Git - redis.git/commitdiff
Fix minor typos.
authorJason Davies <jason@jasondavies.com>
Tue, 1 Nov 2011 19:57:51 +0000 (19:57 +0000)
committerJason Davies <jason@jasondavies.com>
Tue, 1 Nov 2011 19:58:09 +0000 (19:58 +0000)
src/zipmap.c

index 9f0fc71815819ea17605ebd904ee4e6ed8157ac0..65ed29c89ade473dc4fcb123de4780781cd2168c 100644 (file)
@@ -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;