diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-05-14 20:57:18 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-05-14 20:57:18 +0000 |
commit | 63702a625bed0a11b3e24270a8ab979724ee03c1 (patch) | |
tree | ca8981d6785e7e2ae9d503ea458d7d3149df7140 /protocols/Skype | |
parent | b28379050fa05a1a6642548d9d31c4d7d2779815 (diff) |
- fix skypekit port searching
git-svn-id: http://svn.miranda-ng.org/main/trunk@4654 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype')
-rw-r--r-- | protocols/Skype/src/skype_proto.cpp | 2 | ||||
-rw-r--r-- | protocols/Skype/src/skype_runtime.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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;
|