summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-01-22 17:55:05 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-01-22 17:55:05 +0000
commit1432ca2e089f3c1cb68baebc1b70563bc133f857 (patch)
tree50b83f4832b8e59513d15abdefcca26250cb274e /plugins/SendScreenshotPlus/src/CSendFTPFile.cpp
parentbd8210d0d851e2041b4924c5166141d16d0afc9a (diff)
fixed work with HTTPServer
git-svn-id: http://svn.miranda-ng.org/main/trunk@3235 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendFTPFile.cpp')
-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 609e279bad..76dd061393 100644
--- a/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp
+++ b/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp
@@ -67,10 +67,9 @@ void CSendFTPFile::Send() {
}
void CSendFTPFile::SendThread() {
- int ret;
mir_freeAndNil(m_URL);
- ret = (int)CallService(MS_FTPFILE_SHAREFILE, (WPARAM)m_hContact, (LPARAM)m_pszFileName);
+ INT_PTR ret = CallService(MS_FTPFILE_SHAREFILE, (WPARAM)m_hContact, (LPARAM)m_pszFileName);
if (ret != 0) {
Error(TranslateT("%s (%i):\nCould not add a share to the FTP File plugin."),TranslateTS(m_pszSendTyp),ret);
Exit(ret);