fix randstring bug
Merge pull request #776 from charsyam/ziplist-bug

fix randstring bug in ziplist.c