Fix: No permission to share/transfer a client host issue
This commit is contained in:
1 parent
99e3bcbc6d
commit
614b03994c
1 file changed
+1
-1
@@ -610,7 +610,7 @@ DWORD WINAPI StartClient(LPVOID lParam)
|
|||||||
if (list.size() > 1 && settings.runningType == RUNNING_PARALLEL) {
|
if (list.size() > 1 && settings.runningType == RUNNING_PARALLEL) {
|
||||||
for (int i=1; i<list.size(); ++i) {
|
for (int i=1; i<list.size(); ++i) {
|
||||||
std::string addr = list[i] + ":" + std::to_string(settings.ServerPort());
|
std::string addr = list[i] + ":" + std::to_string(settings.ServerPort());
|
||||||
auto a = NewClientStartArg(addr.c_str(), IsSharedRunning, TRUE);
|
auto a = NewClientStartArg(addr.c_str(), IsSharedRunning, FALSE);
|
||||||
if (nullptr != a) CloseHandle(__CreateThread(0, 0, StartClientApp, a, 0, 0));
|
if (nullptr != a) CloseHandle(__CreateThread(0, 0, StartClientApp, a, 0, 0));
|
||||||
}
|
}
|
||||||
// The main ClientApp.
|
// The main ClientApp.
|
||||||
|
|||||||
Reference in new issue
Block a user