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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user