summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-01-19 20:35:37 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-01-19 20:35:37 +0000
commitb32fc4b4f1604d906ff82257d948f468e35ff8a5 (patch)
tree40bd6f0c61b160bb7778e26dd7819e5180339303 /plugins/SendScreenshotPlus
parent44fb7e9e5fb9db8ef1876c32a2a6e296c9215c3e (diff)
-more translation fixes
-removed deprecated service git-svn-id: http://svn.miranda-ng.org/main/trunk@7772 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus')
-rw-r--r--plugins/SendScreenshotPlus/src/CSendFTPFile.cpp3
1 files changed, 1 insertions, 2 deletions
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;
}
}