diff options
Diffstat (limited to 'protocols/Skype/src/skype_subclassing.cpp')
-rw-r--r-- | protocols/Skype/src/skype_subclassing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_subclassing.cpp b/protocols/Skype/src/skype_subclassing.cpp index 50b4e67f4f..f5642f83e5 100644 --- a/protocols/Skype/src/skype_subclassing.cpp +++ b/protocols/Skype/src/skype_subclassing.cpp @@ -245,7 +245,7 @@ int CSkype::StartSkypeRuntime(HINSTANCE hInstance, const wchar_t *profileName, i while (::Process32Next(snapshot, &entry) == TRUE) {
if (::wcsicmp(entry.szExeFile, L"SkypeKit.exe") == 0) {
HANDLE hProcess = ::OpenProcess(PROCESS_ALL_ACCESS, FALSE, entry.th32ProcessID);
- port += rand() % 1000;
+ port += rand() % 8963 + 1000;
::CloseHandle(hProcess);
break;
}
|