diff --git a/netwerk/dns/src/nsDnsService.cpp b/netwerk/dns/src/nsDnsService.cpp index aaa623268ac..563878ec13c 100644 --- a/netwerk/dns/src/nsDnsService.cpp +++ b/netwerk/dns/src/nsDnsService.cpp @@ -774,7 +774,7 @@ nsDNSService::Lookup(nsISupports* clientContext, // listener does not need to copy it... delete hostentry; - (void)listener->OnStopLookup(clientContext, hostName, result); + (void)listener->OnStopLookup(clientContext, hostName, NS_OK); return rv; #endif