mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 715098 - nsICacheMetaData shouldn't blow up in debug mode if visitor returns false.
This commit is contained in:
parent
24c5616c88
commit
2f76f28b47
2
netwerk/cache/nsCacheMetaData.cpp
vendored
2
netwerk/cache/nsCacheMetaData.cpp
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user