mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Reduce extraneous console output from DNS Service when offline [r=dwitte]
This commit is contained in:
parent
3d28b28018
commit
6af0de413b
@ -432,7 +432,8 @@ nsDNSService::AsyncResolve(const nsACString &hostname,
|
||||
res = mResolver;
|
||||
idn = mIDN;
|
||||
}
|
||||
NS_ENSURE_TRUE(res, NS_ERROR_OFFLINE);
|
||||
if (!res)
|
||||
return NS_ERROR_OFFLINE;
|
||||
|
||||
const nsACString *hostPtr = &hostname;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user