X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ftcpip.c;fp=src%2Ftcpip.c;h=f6796373d51640401612aa742c7b541ff63839d0;hp=4f4fd481ebc882d283fb38c1f8ae2eb11c465cf5;hb=f0379c36caadf35c41eb2acb7efad8aadaff0d68;hpb=75fff8a1c0b9deb4b402475a408fc69bc2b06a13 diff --git a/src/tcpip.c b/src/tcpip.c index 4f4fd48..f679637 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -1019,7 +1019,9 @@ COMSTACK tcpip_accept(COMSTACK h) TRC(fprintf(stderr, "tcpip_accept h=%p pid=%d\n", h, getpid())); if (h->state == CS_ST_INCON) { +#if HAVE_GNUTLS_H tcpip_state *st = (tcpip_state *)h->cprivate; +#endif tcpip_state *state = tcpip_state_create(); cnew = (COMSTACK) xmalloc(sizeof(*cnew));