rename Cancel() to DoCancel so we don't over-write method from base class (which we will be doing

when the protocol inherits from nsIChannel).
This commit is contained in:
mscott%netscape.com 1999-09-02 21:06:18 +00:00
parent bac54b7e67
commit 3161ca1600
2 changed files with 3 additions and 3 deletions

View File

@ -3741,7 +3741,7 @@ PRBool nsNNTPProtocol::CheckIfAuthor(nsISupports *aElement, void *data)
}
}
PRInt32 nsNNTPProtocol::Cancel()
PRInt32 nsNNTPProtocol::DoCancel()
{
int status = 0;
nsresult rv = NS_OK;
@ -4725,7 +4725,7 @@ nsresult nsNNTPProtocol::ProcessProtocolState(nsIURI * url, nsIInputStream * inp
break;
case NEWS_DO_CANCEL:
status = Cancel();
status = DoCancel();
break;
// XPAT

View File

@ -342,7 +342,7 @@ private:
// Canceling
PRInt32 StartCancel();
PRInt32 Cancel();
PRInt32 DoCancel();
// XPAT
PRInt32 XPATSend();