зеркало из https://github.com/mozilla/gecko-dev.git
Fix for 126483. Init 'rv' to NS_OK so that we don't stop on the first header which doesn't have a value associated with it. r=ducarroz, sr=bienvenu, a=asa.
This commit is contained in:
Родитель
26711e1f36
Коммит
1713121ffb
|
@ -1015,7 +1015,7 @@ nsresult nsOutlookCompose::WriteHeaders( nsIFileSpec *pDst, SimpleBufferTonyRCop
|
|||
nsCString val;
|
||||
nsCString replaceVal;
|
||||
PRInt32 written;
|
||||
nsresult rv = NS_ERROR_FAILURE;
|
||||
nsresult rv = NS_OK; // it's ok if we don't have the first header on the predefined lists.
|
||||
PRInt32 specialHeader;
|
||||
PRBool specials[kMaxSpecialHeaders];
|
||||
int i;
|
||||
|
|
Загрузка…
Ссылка в новой задаче