mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
Fix minor typos.
This commit is contained in:
parent
ef23f3ac92
commit
b91cbf66bb
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user