diff options
author | George Hazan <george.hazan@gmail.com> | 2013-05-10 09:18:36 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-05-10 09:18:36 +0000 |
commit | 6be5eac8803c2c00797f1f9b43ecd184c091206b (patch) | |
tree | 6f095ea3b362dc9150035f29d2cae23800094c3f /protocols/JabberG/src | |
parent | d24645fbab9c7c0af0680c61b20a026b1bd42820 (diff) |
fix for the received file's name in log
git-svn-id: http://svn.miranda-ng.org/main/trunk@4615 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r-- | protocols/JabberG/src/jabber_file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_file.cpp b/protocols/JabberG/src/jabber_file.cpp index 3ade62cdd2..15d00a96fa 100644 --- a/protocols/JabberG/src/jabber_file.cpp +++ b/protocols/JabberG/src/jabber_file.cpp @@ -540,12 +540,12 @@ int filetransfer::create() WaitForSingleObject(hWaitEvent, INFINITE);
if (fileId == -1) {
- ppro->Log("Saving to [%s]", std.tszCurrentFile);
+ ppro->Log("Saving to [%S]", std.tszCurrentFile);
fileId = _topen(std.tszCurrentFile, _O_BINARY | _O_CREAT | _O_TRUNC | _O_WRONLY, _S_IREAD | _S_IWRITE);
}
if (fileId == -1)
- ppro->Log("Cannot create file '%s' during a file transfer", filefull);
+ ppro->Log("Cannot create file '%S' during a file transfer", filefull);
else if (std.currentFileSize != 0)
_chsize(fileId, std.currentFileSize);
|