Bug 1143313 - Identical code for different branches CID 1260146 & 1260148 r=jcranmer
This commit is contained in:
Родитель
d2e9aa3271
Коммит
a38aaea95c
|
@ -634,10 +634,7 @@ void nsAbLDIFService::AddLdifColToDatabase(nsIAddrDatabase *aDatabase,
|
|||
case 'r':
|
||||
if (colType.EqualsLiteral("region"))
|
||||
{
|
||||
if (mStoreLocAsHome)
|
||||
aDatabase->AddWorkState(newRow, column.get());
|
||||
else
|
||||
aDatabase->AddWorkState(newRow, column.get());
|
||||
aDatabase->AddWorkState(newRow, column.get());
|
||||
}
|
||||
|
||||
break; // 'r'
|
||||
|
|
|
@ -969,10 +969,7 @@ RFC2231ParmFolding(const char *parmName, const nsCString& charset,
|
|||
int32_t parmNameLen = PL_strlen(parmName);
|
||||
int32_t parmValueLen = dupParm.Length();
|
||||
|
||||
if (needEscape)
|
||||
parmNameLen += 5; // *=__'__'___ or *[0]*=__'__'__ or *[1]*=___
|
||||
else
|
||||
parmNameLen += 5; // *[0]="___";
|
||||
parmNameLen += 5; // *=__'__'___ or *[0]*=__'__'__ or *[1]*=___ or *[0]="___"
|
||||
|
||||
int32_t languageLen = language ? PL_strlen(language) : 0;
|
||||
int32_t charsetLen = charset.Length();
|
||||
|
|
Загрузка…
Ссылка в новой задаче