summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-02 06:43:35 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-02 06:43:35 +0000
commit436b6cd89f5b4b73d9c4c29ece117b71e1253319 (patch)
treed315292b436284ccf02a5092ddd69a085b5ca5fc /protocols/SkypeWeb/src/skype_proto.h
parent4f23f9c556e16b454bbca0c43610af1477ea2d74 (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_proto.h')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h
index b3c2344ebb..4694732ca1 100644
--- a/protocols/SkypeWeb/src/skype_proto.h
+++ b/protocols/SkypeWeb/src/skype_proto.h
@@ -302,7 +302,7 @@ private:
void ProcessThreadUpdateRes(const JSONNode &node);
// utils
- static void CSkypeProto::FreeCharList(LIST<char> lst);
+ static void CSkypeProto::FreeCharList(const LIST<char> &lst);
__forceinline bool IsOnline()
{ return (m_iStatus > ID_STATUS_OFFLINE && m_hPollingThread);
@@ -316,7 +316,7 @@ private:
CMStringA GetStringChunk(const char *haystack, const char *start, const char *end);
int SkypeToMirandaStatus(const char *status);
- char *MirandaToSkypeStatus(int status);
+ const char *MirandaToSkypeStatus(int status);
void ShowNotification(const TCHAR *message, MCONTACT hContact = NULL);
void ShowNotification(const TCHAR *caption, const TCHAR *message, MCONTACT hContact = NULL, int type = 0);