X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ftcpip.c;h=8df6a40c12e09f82ae07497c4a9c7f430fbdc969;hp=4c03281c49808271c9fd8bba866949ff0ccdd8f4;hb=01e5482ff2f224a3a4219e100657e3e42aaefc5d;hpb=62dc87f9ad8412dcf2a14bb00147dee88df83d70 diff --git a/src/tcpip.c b/src/tcpip.c index 4c03281..8df6a40 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -945,6 +945,11 @@ COMSTACK tcpip_accept(COMSTACK h) state->complete = st->complete; #if HAVE_GETADDRINFO state->ai = 0; +#if RESOLVER_THREAD + state->hoststr = 0; + state->pipefd[0] = state->pipefd[1] = -1; + state->port = 0; +#endif #endif cnew->state = CS_ST_ACCEPT; h->state = CS_ST_IDLE;