summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;