Bug 1060419 - convert one nsPrintfCString to MOZ_LOG, r?froydnj
MozReview-Commit-ID: IFwMAtAgfRq
--- a/toolkit/components/url-classifier/ProtocolParser.cpp
+++ b/toolkit/components/url-classifier/ProtocolParser.cpp
@@ -807,18 +807,18 @@ ProtocolParserProtobuf::ProcessOneRespon
// Convert threat type to list name.
nsCOMPtr<nsIUrlClassifierUtils> urlUtil =
do_GetService(NS_URLCLASSIFIERUTILS_CONTRACTID);
nsCString possibleListNames;
nsresult rv = urlUtil->ConvertThreatTypeToListNames(aResponse.threat_type(),
possibleListNames);
if (NS_FAILED(rv)) {
- PARSER_LOG((nsPrintfCString("Threat type to list name conversion error: %d",
- aResponse.threat_type())).get());
+ PARSER_LOG(("Threat type to list name conversion error: %d",
+ aResponse.threat_type()));
return NS_ERROR_FAILURE;
}
// Match the table name we received with one of the ones we requested.
// We ignore the case where a threat type matches more than one list
// per provider and return the first one. See bug 1287059."
nsCString listName;
nsTArray<nsCString> possibleListNameArray;