diff options
Diffstat (limited to 'plugins/SkypeStatusChange/src')
-rw-r--r-- | plugins/SkypeStatusChange/src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SkypeStatusChange/src/main.cpp b/plugins/SkypeStatusChange/src/main.cpp index 3eef23543d..369d7b5e03 100644 --- a/plugins/SkypeStatusChange/src/main.cpp +++ b/plugins/SkypeStatusChange/src/main.cpp @@ -75,7 +75,7 @@ public: void Module(const char* val)
{
if (val)
- strncpy_s(m_szModule,val,strlen(val));
+ strncpy_s(m_szModule,val,mir_strlen(val));
else
m_szModule[0] = '\0';
}
@@ -180,7 +180,7 @@ LRESULT APIENTRY SkypeAPI_WindowProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) const char szSkypeCmdSetStatus[] = "SET USERSTATUS ";
::strncpy_s(szSkypeCmd,szSkypeCmdSetStatus,sizeof(szSkypeCmdSetStatus)/sizeof(szSkypeCmdSetStatus[0]));
::strncat_s(szSkypeCmd, ms.m_pszSkypeStatus, SIZEOF(szSkypeCmd) - mir_strlen(szSkypeCmd));
- DWORD cLength = static_cast<DWORD>(strlen(szSkypeCmd));
+ DWORD cLength = static_cast<DWORD>(mir_strlen(szSkypeCmd));
COPYDATASTRUCT oCopyData;
oCopyData.dwData=0;
@@ -204,7 +204,7 @@ LRESULT APIENTRY SkypeAPI_WindowProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) ::strncat_s(szSkypeCmd, pMsg, SIZEOF(szSkypeCmd) - mir_strlen(szSkypeCmd));
mir_free(pMsg);
- DWORD cLength = static_cast<DWORD>(strlen(szSkypeCmd));
+ DWORD cLength = static_cast<DWORD>(mir_strlen(szSkypeCmd));
oCopyData.dwData=0;
oCopyData.lpData = szSkypeCmd;
|