Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2019-01-31 14:47:44 +0300
committerChristian Kamm <mail@ckamm.de>2019-03-20 13:34:18 +0300
commited1e534d24f871a0ab6ea02e4c88eefe3126bf59 (patch)
tree3448499524be967bf974956d2558d7ca818444c5 /shell_integration
parent316e5290f481ad49876f308666abab3bd3b39b84 (diff)
Windows: Use better name for SocketAPI socket #6983
Diffstat (limited to 'shell_integration')
-rw-r--r--shell_integration/windows/OCUtil/CommunicationSocket.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell_integration/windows/OCUtil/CommunicationSocket.cpp b/shell_integration/windows/OCUtil/CommunicationSocket.cpp
index b7dd64c32..6f6f7f9d8 100644
--- a/shell_integration/windows/OCUtil/CommunicationSocket.cpp
+++ b/shell_integration/windows/OCUtil/CommunicationSocket.cpp
@@ -18,6 +18,8 @@
#include "UtilConstants.h"
#include "StringUtil.h"
+#include "config.h"
+
#include <iostream>
#include <vector>
#include <array>
@@ -45,7 +47,8 @@ std::wstring getUserName() {
std::wstring CommunicationSocket::DefaultPipePath()
{
auto pipename = std::wstring(L"\\\\.\\pipe\\");
- pipename += L"ownCloud-";
+ pipename += APPLICATION_SHORTNAME;
+ pipename += L"-"
pipename += getUserName();
return pipename;
}