diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-02 06:43:35 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-02 06:43:35 +0000 |
commit | 436b6cd89f5b4b73d9c4c29ece117b71e1253319 (patch) | |
tree | d315292b436284ccf02a5092ddd69a085b5ca5fc /protocols/SkypeWeb/src/skype_utils.cpp | |
parent | 4f23f9c556e16b454bbca0c43610af1477ea2d74 (diff) |
SkypeWeb: small optimization
git-svn-id: http://svn.miranda-ng.org/main/trunk@14809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_utils.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp index ae45138d40..11e149adbc 100644 --- a/protocols/SkypeWeb/src/skype_utils.cpp +++ b/protocols/SkypeWeb/src/skype_utils.cpp @@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma warning(disable:4566)
-void CSkypeProto::FreeCharList(LIST<char> lst)
+void CSkypeProto::FreeCharList(const LIST<char> &lst)
{
for (int i = 0; i < lst.getCount(); i++)
mir_free(lst[i]);
@@ -423,7 +423,7 @@ bool CSkypeProto::IsMe(const char *skypeName) return (!mir_strcmpi(skypeName, m_szSelfSkypeName) || !mir_strcmp(skypeName, ptrA(getStringA("SelfEndpointName"))));
}
-char *CSkypeProto::MirandaToSkypeStatus(int status)
+const char *CSkypeProto::MirandaToSkypeStatus(int status)
{
switch (status)
{
|