зеркало из https://github.com/mozilla/pjs.git
308018 only call SendFTPCommand if we haven't been cancelled
r+sr=darin
This commit is contained in:
Родитель
0fb9691afb
Коммит
79f5cfd779
|
@ -2483,9 +2483,14 @@ void
|
||||||
nsFtpState::DataConnectionEstablished()
|
nsFtpState::DataConnectionEstablished()
|
||||||
{
|
{
|
||||||
LOG(("(%x) Data Connection established.", this));
|
LOG(("(%x) Data Connection established.", this));
|
||||||
|
|
||||||
mWaitingForDConn = PR_FALSE;
|
mWaitingForDConn = PR_FALSE;
|
||||||
|
|
||||||
|
// If we no longer have a channel, we don't need this connection
|
||||||
|
if (!mChannel) {
|
||||||
|
LOG((" Ignoring data connection"));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// sending empty string with (mWaitingForDConn == PR_FALSE) will cause the
|
// sending empty string with (mWaitingForDConn == PR_FALSE) will cause the
|
||||||
// control socket to write out its buffer.
|
// control socket to write out its buffer.
|
||||||
nsCString a("");
|
nsCString a("");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче