From 6047ddcf042d0650137c75a94dcc700e3af2b263 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 23 Sep 2022 17:19:34 +0300 Subject: fixes #3200 (MRA: cannot reconnect after sleep mode) --- protocols/ICQ-WIM/src/http.cpp | 9 +++++---- protocols/ICQ-WIM/src/version.h | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'protocols/ICQ-WIM/src') 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 -- cgit v1.2.3