Fixing tree blocker 43958 by backing out the last change to this file since it broke my.netscape.com, developer.netscape.com, webmail.netscape.com and probably other sites too. a=granrose

This commit is contained in:
jst%netscape.com 2000-06-27 20:42:01 +00:00
parent 53cb4224fb
commit f3870bb60a

View File

@ -1994,8 +1994,8 @@ nsHTTPChannel::ProcessStatusCode(void)
// 200 (OK) and 203 (Non-authoritative success) results can be cached
if ((statusCode == 200) || (statusCode == 203)) {
nsCOMPtr<nsIStreamListener> listener2;
rv = CacheReceivedResponse(listener, getter_AddRefs(listener2));
if ( NS_SUCCEEDED(rv) ) {
CacheReceivedResponse(listener, getter_AddRefs(listener2));
if (listener2) {
listener = listener2;
}
}
@ -2026,8 +2026,8 @@ nsHTTPChannel::ProcessStatusCode(void)
// 300 (Multiple choices) or 301 (Redirect) results can be cached
if ((statusCode == 300) || (statusCode == 301)) {
nsCOMPtr<nsIStreamListener> listener2;
rv = CacheReceivedResponse(listener, getter_AddRefs(listener2));
if ( NS_SUCCEEDED(rv) ) {
CacheReceivedResponse(listener, getter_AddRefs(listener2));
if (listener2) {
listener = listener2;
}
}