mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
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:
parent
e07e317034
commit
5f03e76d19
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user