From 63702a625bed0a11b3e24270a8ab979724ee03c1 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Tue, 14 May 2013 20:57:18 +0000 Subject: - fix skypekit port searching git-svn-id: http://svn.miranda-ng.org/main/trunk@4654 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_proto.cpp | 2 +- protocols/Skype/src/skype_runtime.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Skype') diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index 6e437a8cea..a9ce9c5e84 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -1,6 +1,6 @@ #include "skype_proto.h" -CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName) : Skype(1) +CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName) : Skype(1), skypeKitPort(8963) { ::ProtoConstructor(this, protoName, userName); diff --git a/protocols/Skype/src/skype_runtime.cpp b/protocols/Skype/src/skype_runtime.cpp index be83b788ad..a283efd259 100644 --- a/protocols/Skype/src/skype_runtime.cpp +++ b/protocols/Skype/src/skype_runtime.cpp @@ -65,7 +65,7 @@ int CSkypeProto::StartSkypeRuntime(const wchar_t *profileName) { while (::Process32Next(snapshot, &entry) == TRUE) { - if (::wcsicmp(entry.szExeFile, L"SkypeKit.exe") == 0) + if (::wcsicmp(entry.szExeFile, L"SkypeKit.exe") == 0 || ::wcsicmp(entry.szExeFile, L"Skype.exe") == 0) { this->skypeKitPort += rand() % 1000 + 8963; break; -- cgit v1.2.3