Fix minor typos.

This commit is contained in:
Jason Davies 2011-11-01 19:57:51 +00:00
parent ef23f3ac92
commit b91cbf66bb

View File

@ -298,7 +298,7 @@ unsigned char *zipmapDel(unsigned char *zm, unsigned char *key, unsigned int kle
return zm; return zm;
} }
/* Call it before to iterate trought elements via zipmapNext() */ /* Call before iterating through elements via zipmapNext() */
unsigned char *zipmapRewind(unsigned char *zm) { unsigned char *zipmapRewind(unsigned char *zm) {
return zm+1; return zm+1;
} }
@ -452,7 +452,7 @@ int main(void) {
vlen, vlen, value); vlen, vlen, value);
} }
} }
printf("\nIterate trought elements:\n"); printf("\nIterate through elements:\n");
{ {
unsigned char *i = zipmapRewind(zm); unsigned char *i = zipmapRewind(zm);
unsigned char *key, *value; unsigned char *key, *value;