summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/util.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-14 19:04:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-14 19:04:55 +0000
commitb67c40f21c0fe0c80a3ddd31b0b09f71bf5d97d7 (patch)
treefa22404f4a40f81b86447c5bd7def26fd6815722 /protocols/Yahoo/src/util.cpp
parentc95efb840d744ec332edfe311b69f1c7ac56560a (diff)
mir_*printf patch for protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@5690 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/util.cpp')
-rw-r--r--protocols/Yahoo/src/util.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Yahoo/src/util.cpp b/protocols/Yahoo/src/util.cpp
index f2e3ecda7a..668a6cfe06 100644
--- a/protocols/Yahoo/src/util.cpp
+++ b/protocols/Yahoo/src/util.cpp
@@ -28,7 +28,7 @@ int CYahooProto::DebugLog( const char *fmt, ... )
va_list vararg;
va_start( vararg, fmt );
- int tBytes = _vsnprintf( str, sizeof( str ), fmt, vararg );
+ int tBytes = mir_vsnprintf(str, sizeof(str), fmt, vararg);
if ( tBytes > 0)
str[ tBytes ] = 0;
@@ -45,7 +45,7 @@ int DebugLog( const char *fmt, ... )
va_list vararg;
va_start( vararg, fmt );
- int tBytes = _vsnprintf( str, sizeof( str ), fmt, vararg );
+ int tBytes = mir_vsnprintf(str, sizeof(str), fmt, vararg);
if ( tBytes > 0)
str[ tBytes ] = 0;
@@ -203,7 +203,7 @@ extern PLUGININFOEX pluginInfo;
void CYahooProto::YAHOO_utils_logversion()
{
char str[256];
- _snprintf(str, sizeof(str), "Yahoo v%d.%d.%d.%d", (pluginInfo.version >> 24) & 0xFF, (pluginInfo.version >> 16) & 0xFF,
+ mir_snprintf(str, sizeof(str), "Yahoo v%d.%d.%d.%d", (pluginInfo.version >> 24) & 0xFF, (pluginInfo.version >> 16) & 0xFF,
(pluginInfo.version >> 8) & 0xFF, pluginInfo.version & 0xFF);
DebugLog(str);
}