diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-03-01 11:43:42 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-03-01 11:43:42 +0000 |
commit | 0281a1b407d4f8568197e6a6d52165c4ff853e9f (patch) | |
tree | 3f64ed4b5f1a5a41c15ed110b3d4219b92b23f4d /protocols/JabberG/src/jabber_ft.cpp | |
parent | bf2b6b24b123538b937b31d9fd9244a4742c15b8 (diff) |
Jabber: Fixed TCHAR Logging in DebugLog
git-svn-id: http://svn.miranda-ng.org/main/trunk@8341 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_ft.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_ft.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_ft.cpp b/protocols/JabberG/src/jabber_ft.cpp index bd22179228..a9a897831b 100644 --- a/protocols/JabberG/src/jabber_ft.cpp +++ b/protocols/JabberG/src/jabber_ft.cpp @@ -181,10 +181,10 @@ BOOL CJabberProto::FtSend(HANDLE hConn, filetransfer *ft) char* buffer;
int numRead;
- debugLogA("Sending [%s]", ft->std.ptszFiles[ft->std.currentFileNumber]);
+ debugLog(_T("Sending [%s]"), ft->std.ptszFiles[ft->std.currentFileNumber]);
_tstati64(ft->std.ptszFiles[ft->std.currentFileNumber], &statbuf); // file size in statbuf.st_size
if ((fd = _topen(ft->std.ptszFiles[ft->std.currentFileNumber], _O_BINARY|_O_RDONLY)) < 0) {
- debugLogA("File cannot be opened");
+ debugLog(_T("File cannot be opened"));
return FALSE;
}
@@ -211,7 +211,7 @@ BOOL CJabberProto::FtSend(HANDLE hConn, filetransfer *ft) BOOL CJabberProto::FtIbbSend(int blocksize, filetransfer *ft)
{
- debugLogA("Sending [%s]", ft->std.ptszFiles[ft->std.currentFileNumber]);
+ debugLog(_T("Sending [%s]"), ft->std.ptszFiles[ft->std.currentFileNumber]);
struct _stati64 statbuf;
_tstati64(ft->std.ptszFiles[ft->std.currentFileNumber], &statbuf); // file size in statbuf.st_size
|