308018 only call SendFTPCommand if we haven't been cancelled
r+sr=darin git-svn-id: svn://10.0.0.236/trunk@180055 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2483,9 +2483,14 @@ void
|
||||
nsFtpState::DataConnectionEstablished()
|
||||
{
|
||||
LOG(("(%x) Data Connection established.", this));
|
||||
|
||||
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
|
||||
// control socket to write out its buffer.
|
||||
nsCString a("");
|
||||
|
||||
Reference in New Issue
Block a user