From: Adam Dickmeiss Date: Wed, 16 Jan 2008 13:01:45 +0000 (+0000) Subject: Fixed bug #2027: Crash when closing connection. X-Git-Tag: YAZ.3.0.22.x~7 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=c5058fc7dd740d627c4e058435d7acb6a7d9ed93;p=yaz-moved-to-github.git Fixed bug #2027: Crash when closing connection. --- diff --git a/src/tcpip.c b/src/tcpip.c index 0e31fc6..a255eaa 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: tcpip.c,v 1.38 2007-11-30 11:44:47 adam Exp $ + * $Id: tcpip.c,v 1.39 2008-01-16 13:01:45 adam Exp $ */ /** * \file tcpip.c @@ -820,9 +820,9 @@ COMSTACK tcpip_accept(COMSTACK h) state->ssl = SSL_new (state->ctx); SSL_set_fd (state->ssl, cnew->iofile); } +#endif state->connect_request_buf = 0; state->connect_response_buf = 0; -#endif h = cnew; } if (h->state == CS_ST_ACCEPT)