From d71e8477fd084ac89307776e7300dcf42ec1c91e Mon Sep 17 00:00:00 2001 From: robertc <> Date: Sun, 11 Aug 2002 13:54:04 +0000 Subject: [PATCH] prevent segfault before assert --- src/HttpHeader.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index cc746fa978..ddee7f5da2 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -1,6 +1,6 @@ /* - * $Id: HttpHeader.cc,v 1.79 2002/06/24 06:07:38 hno Exp $ + * $Id: HttpHeader.cc,v 1.80 2002/08/11 07:54:04 robertc Exp $ * * DEBUG: section 55 HTTP Header * AUTHOR: Alex Rousskov @@ -380,7 +380,7 @@ httpHeaderUpdate(HttpHeader * old, const HttpHeader * fresh, const HttpHeaderMas int httpHeaderReset(HttpHeader * hdr) { - http_hdr_owner_type ho = hdr->owner; + http_hdr_owner_type ho; assert(hdr); ho = hdr->owner; httpHeaderClean(hdr); -- 2.47.3