diff -Nur Filezilla3/src/engine/engineprivate.cpp Filezilla3.patch/src/engine/engineprivate.cpp
old
|
new
|
|
219 | 219 | |
220 | 220 | if (m_pCurrentCommand->GetId() == cmd_connect) |
221 | 221 | { |
222 | | if (!(nErrorCode & ~(FZ_REPLY_ERROR | FZ_REPLY_DISCONNECTED | FZ_REPLY_TIMEOUT)) && |
223 | | nErrorCode & (FZ_REPLY_ERROR | FZ_REPLY_DISCONNECTED) && |
| 222 | if (((!m_pEventHandler->IsKindOf(CLASSINFO(wxFrame)) && |
| 223 | !(nErrorCode & ~(FZ_REPLY_ERROR | FZ_REPLY_DISCONNECTED | FZ_REPLY_TIMEOUT | FZ_REPLY_CRITICALERROR)) && |
| 224 | nErrorCode & (FZ_REPLY_ERROR | FZ_REPLY_DISCONNECTED | FZ_REPLY_CRITICALERROR)) || |
| 225 | (!(nErrorCode & ~(FZ_REPLY_ERROR | FZ_REPLY_DISCONNECTED | FZ_REPLY_TIMEOUT)) && |
| 226 | nErrorCode & (FZ_REPLY_ERROR | FZ_REPLY_DISCONNECTED))) && |
224 | 227 | m_retryCount < m_pOptions->GetOptionVal(OPTION_RECONNECTCOUNT)) |
225 | 228 | { |
226 | 229 | m_retryCount++; |