#100816 - FTP:Need errror for DNS error - nonexistent hostname.
Checking into the branch...already checked into the trunk r/sr=darin git-svn-id: svn://10.0.0.236/branches/MOZILLA_0_9_4_BRANCH@112028 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1918,11 +1918,9 @@ nsFtpState::StopProcessing() {
|
||||
(void) mPrompter->Alert(nsnull, text.get());
|
||||
}
|
||||
|
||||
nsresult broadcastErrorCode = NS_OK;
|
||||
if ( NS_FAILED(mControlStatus) || NS_FAILED(mInternalError)) {
|
||||
// Lets mask the FTP error code so that a client does not have to parse it
|
||||
broadcastErrorCode = NS_BINDING_ABORTED;
|
||||
}
|
||||
nsresult broadcastErrorCode = mControlStatus;
|
||||
if ( NS_SUCCEEDED(broadcastErrorCode))
|
||||
broadcastErrorCode = mInternalError;
|
||||
|
||||
if (mFireCallbacks && mChannel) {
|
||||
nsCOMPtr<nsIStreamListener> channelListener = do_QueryInterface(mChannel);
|
||||
|
||||
Reference in New Issue
Block a user