From 436b6cd89f5b4b73d9c4c29ece117b71e1253319 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sun, 2 Aug 2015 06:43:35 +0000 Subject: SkypeWeb: small optimization git-svn-id: http://svn.miranda-ng.org/main/trunk@14809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_proto.h') 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 lst); + static void CSkypeProto::FreeCharList(const LIST &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); -- cgit v1.2.3