zsock.c: declaring variable outside 'for'. Error on non-c99 compilers.
Merge pull request #710 from guidefloripa/master

zsock.c: declaring variable outside 'for'. Error on non-c99 compilers.