summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-06-15 10:24:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-06-15 10:24:41 +0000
commit491e588fe20533aa36730cbba7b8d689c182d26f (patch)
treeea1eae0d7ac20324461cf70c6e426d0664961404 /plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp
parentc98b927af7a1ae35fb55e44c58fd409bfd73e018 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@9496 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp b/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp
index e0726c82e1..95b41262cf 100644
--- a/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp
+++ b/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp
@@ -63,11 +63,10 @@ int CSendHTTPServer::Send()
m_pszFileName = GetFileNameA(m_pszFile);
}
mir_freeAndNil(m_fsi_pszSrvPath);
- mir_stradd(m_fsi_pszSrvPath, "/");
- mir_stradd(m_fsi_pszSrvPath, m_pszFileName);
+ mir_tcsadd(m_fsi_pszSrvPath, _T("/"));
+ mir_tcsadd(m_fsi_pszSrvPath, _A2T(m_pszFileName));
- mir_free(m_fsi_pszRealPath);
- m_fsi_pszRealPath = mir_t2a(m_pszFile);
+ replaceStrT(m_fsi_pszRealPath, m_pszFile);
ZeroMemory(&m_fsi, sizeof(m_fsi));
m_fsi.lStructSize = sizeof(STFileShareInfo);