From: wessels <> Date: Wed, 22 Feb 2006 06:52:08 +0000 (+0000) Subject: remove ugly getRaw()'s from refcounted pointer class X-Git-Tag: SQUID_3_0_PRE4~320 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e642ad4f0027ac5d579dc91e3df01ebdccaf618;p=thirdparty%2Fsquid.git remove ugly getRaw()'s from refcounted pointer class --- diff --git a/src/http.cc b/src/http.cc index 55509eeb2e..05d53c647f 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,6 +1,6 @@ /* - * $Id: http.cc,v 1.487 2006/02/17 20:15:35 wessels Exp $ + * $Id: http.cc,v 1.488 2006/02/21 23:52:08 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -141,7 +141,7 @@ HttpStateData::~HttpStateData() */ if (request_body_buf) { - if (orig_request->body_connection.getRaw()) { + if (orig_request->body_connection != NULL) { clientAbortBody(orig_request); } @@ -1788,7 +1788,7 @@ HttpStateData::sendRequest() flags.do_next_read = 1; maybeReadData(); - if (orig_request->body_connection.getRaw() != NULL) + if (orig_request->body_connection != NULL) sendHeaderDone = HttpStateData::SendRequestEntityWrapper; else sendHeaderDone = HttpStateData::SendComplete;