Bug 715098 - nsICacheMetaData shouldn't blow up in debug mode if visitor returns false.

This commit is contained in:
Gijs Kruitbosch 2012-01-28 16:13:43 +01:00
parent 24c5616c88
commit 2f76f28b47

View File

@ -173,7 +173,7 @@ nsCacheMetaData::VisitElements(nsICacheMetaDataVisitor * visitor)
bool keepGoing;
nsresult rv = visitor->VisitMetaDataElement(key, data, &keepGoing);
if (NS_FAILED(rv) || !keepGoing)
break;
return NS_OK;
// Skip value part
data += strlen(data) + 1;