diff options
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;
|