diff options
author | George Hazan <george.hazan@gmail.com> | 2024-05-30 17:34:26 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-05-30 17:34:26 +0300 |
commit | c7cd8e2918509efe5fe74f35d442826cca2f5df3 (patch) | |
tree | 801d8279b41d7ac074314ee5d2e54391f8eae3da /plugins | |
parent | 21f5ffe75d745ce76ba0874f05b696a083756370 (diff) |
code cleaning
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ExternalAPI/m_voiceservice.h | 2 | ||||
-rw-r--r-- | plugins/Jingle/src/voip.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ExternalAPI/m_voiceservice.h b/plugins/ExternalAPI/m_voiceservice.h index a0fd124815..97d971cbb6 100644 --- a/plugins/ExternalAPI/m_voiceservice.h +++ b/plugins/ExternalAPI/m_voiceservice.h @@ -39,7 +39,7 @@ struct VOICE_MODULE { int cbSize; // sizeof(VOICE_MODULE) TCHAR *description; // The description of the voice provider. This is the name that will be shown to the user - char *name; // The internal name of the voice provider. All PS_* serivces + const char *name; // The internal name of the voice provider. All PS_* serivces // defined in m_voice.h need to be created based in this name. For example, // PS_VOICE_CALL (/Voice/Call) need to be created as <name>/Voice/Call HANDLE icon; // Icon to identify provider (from icolib) diff --git a/plugins/Jingle/src/voip.cpp b/plugins/Jingle/src/voip.cpp index 1ec286cc57..8ca7eed036 100644 --- a/plugins/Jingle/src/voip.cpp +++ b/plugins/Jingle/src/voip.cpp @@ -514,7 +514,7 @@ void CJabberAccount::InitVoip(bool bEnable) VOICE_MODULE vsr = {}; vsr.cbSize = sizeof(VOICE_MODULE); vsr.description = L"XMPP/DTLS-SRTP"; - vsr.name = (char *)m_szModuleName; + vsr.name = m_szModuleName; vsr.icon = g_plugin.getIconHandle(IDI_MAIN); vsr.flags = VOICE_CAPS_VOICE | VOICE_CAPS_CALL_CONTACT; CallService(MS_VOICESERVICE_REGISTER, (WPARAM)&vsr, 0); |