landing non-nspr portion of patch for bug 239358 "DNS: Reverse lookups are

degrading performance" r=lorenzo sr=bryner
This commit is contained in:
darin%meer.net 2005-08-09 23:06:57 +00:00
Родитель d974132be2
Коммит 352c087a74
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -147,7 +147,8 @@ MakeSN(const char *principal, nsCString &result)
// This should always hit our DNS cache
nsCOMPtr<nsIDNSRecord> record;
rv = dns->Resolve(Substring(buf, index + 1), PR_FALSE,
rv = dns->Resolve(Substring(buf, index + 1),
nsIDNSService::RESOLVE_CANONICAL_NAME,
getter_AddRefs(record));
if (NS_FAILED(rv))
return rv;