summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-04-26 17:18:43 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-04-26 17:18:43 +0000
commitb3d59c0b3b4009e0d86c9eb858bb9131b815413b (patch)
treeeced6de77120d3e770a2e6276b10448fdae2ebf0 /protocols/Skype/src/skype.cpp
parentd7347b73ed48a181b4c9c3cbef69a0db917b8061 (diff)
more shotter version
git-svn-id: http://svn.miranda-ng.org/main/trunk@4536 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype.cpp')
-rw-r--r--protocols/Skype/src/skype.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/protocols/Skype/src/skype.cpp b/protocols/Skype/src/skype.cpp
index 26ef149162..1da39c88ab 100644
--- a/protocols/Skype/src/skype.cpp
+++ b/protocols/Skype/src/skype.cpp
@@ -230,13 +230,10 @@ int StartSkypeRuntime(HINSTANCE hInstance, const wchar_t *profileName, int &port
}
::CloseHandle(snapshot);
- wchar_t param[128], path[MAX_PATH];
+ wchar_t param[128];
PROCESS_INFORMATION pi;
VARST dbPath( _T("%miranda_userdata%\\SkypeKit"));
- _tcslwr(dbPath);
- mir_sntprintf(path, SIZEOF(path), _T("\"%s\""), dbPath);
- ::swprintf(param, SIZEOF(param), L"-p -P %d -f %s", port, path);
- //::swprintf(param, SIZEOF(param), L"-p -P %d", port);
+ ::swprintf(param, SIZEOF(param), L"-p -P %d -f \"%s\"", port, dbPath);
int startingrt = ::CreateProcess(
fileName, param,
NULL, NULL, FALSE,