diff --git a/netwerk/protocol/http/src/nsHTTPHandler.cpp b/netwerk/protocol/http/src/nsHTTPHandler.cpp index f38978218ac1..1718eca76c1e 100644 --- a/netwerk/protocol/http/src/nsHTTPHandler.cpp +++ b/netwerk/protocol/http/src/nsHTTPHandler.cpp @@ -118,7 +118,8 @@ nsHTTPHandler::nsHTTPHandler():mProxy(nsnull) nsXPIDLCString proxyServer; PRInt32 proxyPort = -1; rv = prefs->CopyCharPref("network.proxy.http", getter_Copies(proxyServer)); - if (NS_FAILED(rv)) NS_ERROR("Failed to get the HTTP proxy server"); + if (NS_FAILED(rv)) + return; //NS_ERROR("Failed to get the HTTP proxy server"); rv = prefs->GetIntPref("network.proxy.http_port",&proxyPort); #ifdef DEBUG_gagan printf("Read HTTP proxy = %s:%d\n", (const char*)proxyServer,proxyPort);