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