summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-03-29 17:39:12 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-03-29 17:39:12 +0000
commit2aa4e30ba51dd7209937ce73f235514bd47e01f1 (patch)
tree4c2503ece0b446fd6ea0670f0c2a69c9ae32576c /plugins
parent40ae63ba6f97c427841e5aec76076b8f75f6e187 (diff)
more correct fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@12546 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp4
-rw-r--r--plugins/SendScreenshotPlus/src/CSendHTTPServer.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp b/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp
index 8752a9604f..46b320c020 100644
--- a/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp
+++ b/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp
@@ -66,13 +66,13 @@ int CSendHTTPServer::Send()
mir_stradd(m_fsi_pszSrvPath, "/");
mir_stradd(m_fsi_pszSrvPath, m_pszFileName);
- replaceStrT(m_fsi_pszRealPath, m_pszFile);
+ replaceStr(m_fsi_pszRealPath, _T2A(m_pszFile));
memset(&m_fsi, 0, sizeof(m_fsi));
m_fsi.lStructSize = sizeof(STFileShareInfo);
m_fsi.pszSrvPath = m_fsi_pszSrvPath;
m_fsi.nMaxDownloads = -1; // -1 = infinite
- m_fsi.pszRealPath = _T2A(m_fsi_pszRealPath);
+ m_fsi.pszRealPath = m_fsi_pszRealPath;
//m_fsi.dwOptions = NULL; //OPT_SEND_LINK only work on single chat;
//start Send thread
diff --git a/plugins/SendScreenshotPlus/src/CSendHTTPServer.h b/plugins/SendScreenshotPlus/src/CSendHTTPServer.h
index c5f7b2bfe2..e753fd6727 100644
--- a/plugins/SendScreenshotPlus/src/CSendHTTPServer.h
+++ b/plugins/SendScreenshotPlus/src/CSendHTTPServer.h
@@ -41,7 +41,7 @@ class CSendHTTPServer : public CSend {
protected:
char* m_pszFileName;
char* m_fsi_pszSrvPath;
- TCHAR* m_fsi_pszRealPath;
+ char* m_fsi_pszRealPath;
STFileShareInfo m_fsi;