From 45d8cd8d2b2d731005c77f6c19da2dfe31910fed Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Mon, 26 Apr 1999 20:29:16 +0000 Subject: [PATCH] Remove unnecessary component registration calls for the netlib service. git-svn-id: svn://10.0.0.236/trunk@29226 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/compose/src/nsMsgSend.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/mozilla/mailnews/compose/src/nsMsgSend.cpp b/mozilla/mailnews/compose/src/nsMsgSend.cpp index 9fb310b95d3..cf0548c6b3f 100644 --- a/mozilla/mailnews/compose/src/nsMsgSend.cpp +++ b/mozilla/mailnews/compose/src/nsMsgSend.cpp @@ -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) {