diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-31 08:02:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-31 08:02:48 +0000 |
commit | 602898ae2746cb2cfc8fcd082313b69130f92902 (patch) | |
tree | 01ce7b9e9dfafcaea75ac9f199557d216195cfa0 /protocols/JabberG/src/jabber_misc.cpp | |
parent | 34572133dc4f3b86f9a3cb9708aa0806f1cfded2 (diff) |
oops
git-svn-id: http://svn.miranda-ng.org/main/trunk@13928 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_misc.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp index 06ddbe27ee..8927b0f816 100644 --- a/protocols/JabberG/src/jabber_misc.cpp +++ b/protocols/JabberG/src/jabber_misc.cpp @@ -527,7 +527,7 @@ CMString CJabberProto::ExtractImage(HXML node) GetTempPath(_countof(tszTempPath), tszTempPath);
GetTempFileName(tszTempPath, _T("jab"), InterlockedIncrement(&g_nTempFileId), tszTempFile);
_tcsncat_s(tszTempFile, _T("."), 1);
- _tcsncat_s(tszTempFile, image, image.GetLength());
+ _tcsncat_s(tszTempFile, ext, ext.GetLength());
HANDLE h = CreateFile(tszTempFile, GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, CREATE_ALWAYS,
|