184433 Internet Keywords triggered by "connection refused" errors. fix it to

only trigger if the hostname is unknown.
patch by Jerry Talkington <jtalkington@users.sourceforge.net> r=adamlock
sr=darin


git-svn-id: svn://10.0.0.236/trunk@151975 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2004-01-28 21:32:00 +00:00
parent 6166d1337c
commit e972f168f6

View File

@@ -829,10 +829,7 @@ nsresult nsWebShell::EndPageLoad(nsIWebProgress *aProgress,
//
// First try keyword fixup
//
if (aStatus == NS_ERROR_UNKNOWN_HOST ||
aStatus == NS_ERROR_CONNECTION_REFUSED ||
aStatus == NS_ERROR_NET_TIMEOUT ||
aStatus == NS_ERROR_NET_RESET)
if (aStatus == NS_ERROR_UNKNOWN_HOST)
{
PRBool keywordsEnabled = PR_FALSE;