Bug 1308103 - Replace PL_strcmp/PL_strncmp with strcmp/strncmp in extensions/pref/autoconfig r=mkaply

Differential Revision: https://phabricator.services.mozilla.com/D123880
This commit is contained in:
Nicklas Boman 2021-09-09 19:36:11 +00:00
parent e07e317034
commit 5f03e76d19

View File

@ -212,8 +212,9 @@ nsresult nsReadConfig::readConfigFile() {
// .cfg to the filename by checking this post reading of the cfg file
// this value can be set within the cfg file adding a level of security.
if (PL_strncmp(lockFileName.get(), lockVendor.get(), fileNameLen - 4) != 0)
if (strncmp(lockFileName.get(), lockVendor.get(), fileNameLen - 4) != 0) {
return NS_ERROR_FAILURE;
}
}
// get the value of the autoconfig url