summaryrefslogtreecommitdiff
path: root/protocols/Twitter/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-13 22:52:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-13 22:52:01 +0000
commit41fd90bceab3de44d2b80157388e773b94265f7b (patch)
treebbd170a45c32d3ed220575adb635b2de0147078d /protocols/Twitter/proto.cpp
parentf0e0f8df9afe935855724ae95e93093f04ca8e9a (diff)
fixes for logging
git-svn-id: http://svn.miranda-ng.org/main/trunk@404 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/proto.cpp')
-rw-r--r--protocols/Twitter/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Twitter/proto.cpp b/protocols/Twitter/proto.cpp
index c1babf5c71..a3d9b24e07 100644
--- a/protocols/Twitter/proto.cpp
+++ b/protocols/Twitter/proto.cpp
@@ -524,7 +524,7 @@ int TwitterProto::LOG(TCHAR *fmt,...)
mir_vsntprintf(text,SIZEOF(text),fmt,va);
va_end(va);
- return CallService(MS_NETLIB_LOG, (WPARAM)hNetlib_, (LPARAM)text);
+ return CallService(MS_NETLIB_LOG, (WPARAM)hNetlib_, (LPARAM)( char* )_T2A(text));
}
int TwitterProto::WLOG(TCHAR* first, const wstring last)