зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
070038e4f0
Коммит
cafacc211b
|
@ -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
|
||||
|
|
|
@ -342,7 +342,7 @@ private:
|
|||
|
||||
// Canceling
|
||||
PRInt32 StartCancel();
|
||||
PRInt32 Cancel();
|
||||
PRInt32 DoCancel();
|
||||
|
||||
// XPAT
|
||||
PRInt32 XPATSend();
|
||||
|
|
Загрузка…
Ссылка в новой задаче