зеркало из https://github.com/mozilla/pjs.git
Remove unnecessary component registration calls for the netlib service.
This commit is contained in:
Родитель
e0291af5f6
Коммит
70e935f316
|
@ -3213,7 +3213,6 @@ static char * mime_generate_headers (nsMsgCompFields *fields,
|
|||
}
|
||||
|
||||
nsINetService * pNetService;
|
||||
nsComponentManager::RegisterComponent(kNetServiceCID, NULL, NULL, "netlib.dll", PR_FALSE, PR_FALSE); /*JFD - Should go away when netlib will register itself! */
|
||||
nsresult rv = nsServiceManager::GetService(kNetServiceCID, nsINetService::GetIID(), (nsISupports **)&pNetService);
|
||||
if (NS_SUCCEEDED(rv) && pNetService)
|
||||
{
|
||||
|
@ -3639,7 +3638,6 @@ int MIME_GenerateMailtoFormPostHeaders (const char *old_post_url,
|
|||
char* sAppName = nsnull;
|
||||
|
||||
nsINetService * pNetService;
|
||||
// nsComponentManager::RegisterComponent(kNetServiceCID, NULL, NULL, "netlib.dll", PR_FALSE, PR_FALSE); /*JFD - Should go away when netlib will register itself! */
|
||||
nsresult rv = nsServiceManager::GetService(kNetServiceCID, nsINetService::GetIID(), (nsISupports **)&pNetService);
|
||||
if (NS_SUCCEEDED(rv) && pNetService)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче