From b32fc4b4f1604d906ff82257d948f468e35ff8a5 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sun, 19 Jan 2014 20:35:37 +0000 Subject: -more translation fixes -removed deprecated service git-svn-id: http://svn.miranda-ng.org/main/trunk@7772 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SendScreenshotPlus/src/CSendFTPFile.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/SendScreenshotPlus/src/CSendFTPFile.cpp') diff --git a/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp b/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp index 1105cfea5d..355ea225ad 100644 --- a/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp +++ b/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp @@ -71,7 +71,7 @@ void CSendFTPFile::Send() { void CSendFTPFile::SendThread() { mir_freeAndNil(m_URL); - INT_PTR ret = CallService(MS_FTPFILE_SHAREFILE, (WPARAM)m_hContact, (LPARAM)m_pszFileName); + INT_PTR ret = FTPFileUploadA(m_hContact, FNUM_DEFAULT, FMODE_RAWFILE, &m_pszFileName,1); if (ret != 0) { Error(TranslateT("%s (%i):\nCould not add a share to the FTP File plugin."),TranslateTS(m_pszSendTyp),ret); Exit(ret); @@ -82,7 +82,6 @@ void CSendFTPFile::SendThread() { if (m_URL && m_URL[0]!= NULL) { m_ChatRoom ? svcSendChat(m_URL) : svcSendMsg(m_URL); - return; } } -- cgit v1.2.3