if (url) { #ifdef DEBUG_MESSENGER printf("nsMessenger::OpenURL(%s)\n",url); #endif nsIMsgMessageService * messageService = nsnull; nsresult rv = GetMessageServiceFromURI(url, &messageService);
NS_ENSURE_ARG_POINTER(aURL);
nsMessenger::OpenURL(const char * url){	if (url)	{#ifdef DEBUG_MESSENGER		printf("nsMessenger::OpenURL(%s)\n",url);#endif    		nsIMsgMessageService * messageService = nsnull;		nsresult rv = GetMessageServiceFromURI(url, &messageService);		if (NS_SUCCEEDED(rv) && messageService)		{			messageService->DisplayMessage(url, mWebShell, nsnull, nsnull);			ReleaseMessageServiceFromURI(url, messageService);		}		//If it's not something we know about, then just load the url.		else		{			nsString urlStr(url);			mWebShell->LoadURL(urlStr.GetUnicode());		}	}	return NS_OK;}