From 6be5eac8803c2c00797f1f9b43ecd184c091206b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 10 May 2013 09:18:36 +0000 Subject: 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 --- protocols/JabberG/src/jabber_file.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src/jabber_file.cpp') 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); -- cgit v1.2.3