diff --git a/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp b/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp index 47806fd07b6..f0566890914 100644 --- a/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp +++ b/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp @@ -2226,6 +2226,7 @@ nsFtpState::KillControlConnection() { PR_LOG(gFTPLog, PR_LOG_ALWAYS, ("(%x) nsFtpState caching control connection", this)); // Store connection persistant data + mControlConnection->mServerType = mServerType; mControlConnection->mPassword = mPassword; nsresult rv = gFtpHandler->InsertConnection(mURI, mControlConnection); // Can't cache it? Kill it then.