зеркало из https://github.com/mozilla/gecko-dev.git
Bug 106386 Correct misspellings in source code fix pseudo typos in nsMessengerMigrator patch by ajvincent@gmail.com
r=mscott rs=brendan
This commit is contained in:
Родитель
d2da6380d6
Коммит
4c85b5d18e
|
@ -2049,9 +2049,9 @@ nsMessengerMigrator::MigrateNewsAccounts(nsIMsgIdentity *identity)
|
|||
#endif /* NEWS_FAT_STORES_ABSOLUTE_NEWSRC_FILE_PATHS */
|
||||
|
||||
// pseudo-name is of the form newsrc-<host> or snewsrc-<host>.
|
||||
if (PL_strncmp(pseudo_NAME_PREFIX,pseudo_name,PL_strlen(pseudo_NAME_PREFIX)) == 0) {
|
||||
if (PL_strncmp(PSEUDO_NAME_PREFIX,pseudo_name,PL_strlen(PSEUDO_NAME_PREFIX)) == 0) {
|
||||
// check that there is a hostname to get after the "newsrc-" part
|
||||
NS_ASSERTION(PL_strlen(pseudo_name) > PL_strlen(pseudo_NAME_PREFIX), "pseudo_name is too short");
|
||||
NS_ASSERTION(PL_strlen(pseudo_name) > PL_strlen(PSEUDO_NAME_PREFIX), "pseudo_name is too short");
|
||||
if (PL_strlen(pseudo_name) <= PL_strlen(PSEUDO_NAME_PREFIX)) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче