fix to mal-formed contract id introduced in mega-check-in:x

This commit is contained in:
rayw@netscape.com
2000-09-14 04:18:07 +00:00
parent f20f10b54c
commit 6036f4297b
2 changed files with 8 additions and 4 deletions

View File

@@ -1119,6 +1119,10 @@ nsComponentManagerImpl::ContractIDToClassID(const char *aContractID, nsCID *aCla
}
#endif /* USE_REGISTRY */
if (PL_strcmp(aContractID, "@mozilla.org/rdf/datasource") == 0)
{
PR_ASSERT(false);
}
if (PR_LOG_TEST(nsComponentManagerLog, PR_LOG_ALWAYS)) {
char *buf = 0;
if (NS_SUCCEEDED(res))