diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-12-28 20:34:31 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-12-28 20:34:31 +0000 |
commit | 578c3d4a75046cc06dfa247b437f04fc542c36a9 (patch) | |
tree | d6cc8b80c086fdf1b13f5469b66bbaf341abc9e5 /protocols/Skype/src/skype_subclassing.cpp | |
parent | 121f8a3e433af878f1168d28035ad4fd17b7aa0b (diff) |
- added password changing
git-svn-id: http://svn.miranda-ng.org/main/trunk@2875 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}
|