diff options
author | George Hazan <ghazan@miranda.im> | 2022-09-23 17:19:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-09-23 17:19:34 +0300 |
commit | 6047ddcf042d0650137c75a94dcc700e3af2b263 (patch) | |
tree | 6fdcfafa3ad2a9ade78436a32f2116ec7121f1f3 /protocols | |
parent | e3321caf2042aa1c539222ceb4998a9bc9926676 (diff) |
fixes #3200 (MRA: cannot reconnect after sleep mode)
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/ICQ-WIM/src/http.cpp | 9 | ||||
-rw-r--r-- | protocols/ICQ-WIM/src/version.h | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/protocols/ICQ-WIM/src/http.cpp b/protocols/ICQ-WIM/src/http.cpp index 9e6dfe454b..0d15a71b9f 100644 --- a/protocols/ICQ-WIM/src/http.cpp +++ b/protocols/ICQ-WIM/src/http.cpp @@ -246,11 +246,12 @@ bool CIcqProto::ExecuteRequest(AsyncHttpRequest *pReq) else { debugLogA("Request %s failed", pReq->m_reqId); - if (pReq->m_conn != CONN_NONE) { - if (IsStatusConnecting(m_iStatus)) - ConnectionFailed(LOGINERR_NONETWORK); + if (IsStatusConnecting(m_iStatus)) + ConnectionFailed(LOGINERR_NONETWORK); + + if (pReq->m_conn != CONN_NONE) m_ConnPool[pReq->m_conn].s = nullptr; - } + bRet = false; } diff --git a/protocols/ICQ-WIM/src/version.h b/protocols/ICQ-WIM/src/version.h index 8b33933cb7..bdad28cfc2 100644 --- a/protocols/ICQ-WIM/src/version.h +++ b/protocols/ICQ-WIM/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 96 #define __RELEASE_NUM 2 -#define __BUILD_NUM 1 +#define __BUILD_NUM 2 #include <stdver.h> |