From c5058fc7dd740d627c4e058435d7acb6a7d9ed93 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 16 Jan 2008 13:01:45 +0000 Subject: [PATCH] Fixed bug #2027: Crash when closing connection. --- src/tcpip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 1.7.10.4