Fixed return value from PerformNastyWindowsAsyncDNSHack(...)

git-svn-id: svn://10.0.0.236/trunk@9071 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com
1998-09-02 00:27:54 +00:00
parent 034db9db1f
commit ca9ef3c2e8

View File

@@ -589,12 +589,13 @@ nsresult PerformNastyWindowsAsyncDNSHack(URL_Struct *URL_s, nsIURL* aURL)
c = (int) *(++pc);
d = (int) *(++pc);
URL_s->IPAddressString = PR_smprintf("%d.%d.%d.%d", a,b,c,d);
} else {
/*
* If we fail to resolve a host on a HTTP connection, then
* abort the connection to prevent a deadlock...
*/
rv = NS_ERROR_FAILURE;
}
/*
* If we fail to resolve a host on a HTTP connection, then abort the
* connection to prevent a deadlock...
*/
rv = NS_ERROR_FAILURE;
}
return rv;
}