diff options
author | George Hazan <george.hazan@gmail.com> | 2023-07-10 20:11:11 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-07-10 20:11:15 +0300 |
commit | d9cdbf7eba8b496b7325c736fdc7dbd2afc55a29 (patch) | |
tree | 32f69ba9da5741fbec921ca9043bea36fefc189a /protocols/ICQ-WIM/src/file.cpp | |
parent | 1d14ea4f6381e3a6d6887eba9dc73c45cda01891 (diff) |
fixes #3567 (ICQ: implement offline files download)
Diffstat (limited to 'protocols/ICQ-WIM/src/file.cpp')
-rw-r--r-- | protocols/ICQ-WIM/src/file.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/protocols/ICQ-WIM/src/file.cpp b/protocols/ICQ-WIM/src/file.cpp index 76b55026f9..1dc58ba06b 100644 --- a/protocols/ICQ-WIM/src/file.cpp +++ b/protocols/ICQ-WIM/src/file.cpp @@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdafx.h" -// create an object for receiving -IcqFileTransfer::IcqFileTransfer(MCONTACT hContact, const char *pszUrl) : - m_szHost(pszUrl) -{ - pfts.hContact = hContact; - pfts.totalFiles = 1; - pfts.flags = PFTS_UNICODE | PFTS_RECEIVING; - - ptrW pwszFileName(mir_utf8decodeW(pszUrl)); - if (pwszFileName == nullptr) - pwszFileName = mir_a2u(pszUrl); - - const wchar_t *p = wcsrchr(pwszFileName, '/'); - m_wszFileName = (p == nullptr) ? pwszFileName : p + 1; - m_wszShortName = m_wszFileName; -} - // create an object for sending IcqFileTransfer::IcqFileTransfer(MCONTACT hContact, const wchar_t *pwszFileName) : m_wszFileName(pwszFileName) |