Bug 777292 - security/manager/: Fix incorrect conversions to nsresult; r=kaie

This commit is contained in:
Aryeh Gregor 2012-07-30 12:24:36 +03:00
Родитель 5d272daa1b
Коммит ebbeed4a32
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -83,7 +83,9 @@ nsPKIParamBlock::SetISupportAtIndex(PRInt32 index, nsISupports *object)
return NS_ERROR_OUT_OF_MEMORY;
}
}
return mSupports->InsertElementAt(object, index-1);
// Ignore any InsertElementAt error, because this function always did that
mSupports->InsertElementAt(object, index-1);
return NS_OK;
}
/* nsISupports getISupportAtIndex (in PRInt32 index); */