From 9abfac20be99b39c8d1d73266a988f7525dd94b8 Mon Sep 17 00:00:00 2001 From: "ruslan%netscape.com" Date: Wed, 3 May 2000 00:33:20 +0000 Subject: [PATCH] Fix build bustage --- netwerk/protocol/http/src/nsHTTPChannel.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/netwerk/protocol/http/src/nsHTTPChannel.cpp b/netwerk/protocol/http/src/nsHTTPChannel.cpp index 362539d7c6e0..c893b23ee81b 100644 --- a/netwerk/protocol/http/src/nsHTTPChannel.cpp +++ b/netwerk/protocol/http/src/nsHTTPChannel.cpp @@ -820,7 +820,9 @@ nsHTTPChannel::CheckCache() // For now, we handle only GET and HEAD requests nsCOMPtr httpMethod; httpMethod = mRequest->GetMethod(); - if ((httpMethod != nsHTTPAtoms::Get) && (httpMethod != nsHTTPAtoms::Head)) + nsIAtom *mP = httpMethod; + + if ((mP != nsHTTPAtoms::Get) && (mP != nsHTTPAtoms::Head)) return NS_OK; // If this is the first time we've been called for this channel,