From 81337e86426dd4a79836554342bdc2e7e6195769 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 18 Jun 2013 14:12:13 +0000 Subject: massive extinction of stupid service name's buffers git-svn-id: http://svn.miranda-ng.org/main/trunk@5010 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Yahoo/src/services.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'protocols/Yahoo') diff --git a/protocols/Yahoo/src/services.cpp b/protocols/Yahoo/src/services.cpp index 8fbe741255..1e5b7648f5 100644 --- a/protocols/Yahoo/src/services.cpp +++ b/protocols/Yahoo/src/services.cpp @@ -518,7 +518,7 @@ void CYahooProto::LoadYahooServices( void ) YHookEvent( ME_OPT_INITIALISE, &CYahooProto::OnOptionsInit ); //----| Create nudge event |---------------------------------------------------------- - mir_snprintf( path, sizeof( path ), "%s/Nudge", m_szModuleName); + mir_snprintf( path, SIZEOF(path), "%s/Nudge", m_szModuleName); hYahooNudge = CreateHookableEvent( path ); //----| Service creation |------------------------------------------------------------ @@ -536,27 +536,27 @@ void CYahooProto::LoadYahooServices( void ) //----| Set resident variables |------------------------------------------------------ - mir_snprintf( path, sizeof( path ), "%s/Status", m_szModuleName ); + mir_snprintf( path, SIZEOF(path), "%s/Status", m_szModuleName ); CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); - mir_snprintf( path, sizeof( path ), "%s/YStatus", m_szModuleName ); + mir_snprintf( path, SIZEOF(path), "%s/YStatus", m_szModuleName ); CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); - mir_snprintf( path, sizeof( path ), "%s/YAway", m_szModuleName ); + mir_snprintf( path, SIZEOF(path), "%s/YAway", m_szModuleName ); CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); - mir_snprintf( path, sizeof( path ), "%s/Mobile", m_szModuleName ); + mir_snprintf( path, SIZEOF(path), "%s/Mobile", m_szModuleName ); CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); - mir_snprintf( path, sizeof( path ), "%s/YGMsg", m_szModuleName ); + mir_snprintf( path, SIZEOF(path), "%s/YGMsg", m_szModuleName ); CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); - mir_snprintf( path, sizeof( path ), "%s/IdleTS", m_szModuleName ); + mir_snprintf( path, SIZEOF(path), "%s/IdleTS", m_szModuleName ); CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); - mir_snprintf( path, sizeof( path ), "%s/PictLastCheck", m_szModuleName ); + mir_snprintf( path, SIZEOF(path), "%s/PictLastCheck", m_szModuleName ); CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); - mir_snprintf( path, sizeof( path ), "%s/PictLoading", m_szModuleName ); + mir_snprintf( path, SIZEOF(path), "%s/PictLoading", m_szModuleName ); CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); } -- cgit v1.2.3