Unification of LoadUrl signature to remove some warnings on Linux & Mac. LoadUrl signature takes a display consumer.

This commit is contained in:
mscott%netscape.com 1999-06-08 00:01:54 +00:00
Родитель ff06a93a06
Коммит 16d8890834
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -1190,7 +1190,7 @@ PRInt32 nsSmtpProtocol::SendMessageResponse()
} }
nsresult nsSmtpProtocol::LoadUrl(nsIURL * aURL) nsresult nsSmtpProtocol::LoadUrl(nsIURL * aURL, nsISupports * /* aConsumer */)
{ {
nsresult rv = NS_OK; nsresult rv = NS_OK;
PRInt32 status = 0; PRInt32 status = 0;

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

@ -74,7 +74,7 @@ public:
nsSmtpProtocol(nsIURL * aURL); nsSmtpProtocol(nsIURL * aURL);
virtual ~nsSmtpProtocol(); virtual ~nsSmtpProtocol();
virtual nsresult LoadUrl(nsIURL * aURL); virtual nsresult LoadUrl(nsIURL * aURL, nsISupports * aConsumer = nsnull);
//////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////
// we suppport the nsIStreamListener interface // we suppport the nsIStreamListener interface