for now, initialize array here

This commit is contained in:
Shuhei Tanuma 2012-07-11 13:50:40 +09:00
parent 937a4e0673
commit 10d2eadeff

View File

@ -54,6 +54,10 @@
#define PHP_UV_INIT_ZVALS(uv) \
{ \
int ix = 0;\
for (ix = 0; ix < 20; ix++) {\
uv->callback[ix] = NULL;\
}\
uv->in_free = 0;\
uv->address = NULL; \
uv->listen_cb = NULL; \