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-10-07 17:39:24 +0300
committerMarkus Goetz <markus@woboq.com>2019-10-07 21:51:09 +0300
commit6bdef055d17d180d4af1faf69c7482d68798e247 (patch)
tree3e86c9f0d598978357329d6ede16fc3866cc1269 /shell_integration
parentcb4973b7f7ffcb678b9c88528d6ee44da1e87458 (diff)
Revert "Windows: Use better name for SocketAPI socket #6983"
This reverts commit ed1e534d24f871a0ab6ea02e4c88eefe3126bf59. Doesn't make sense to spend effort on this, we keep it as it is.
Diffstat (limited to 'shell_integration')
-rw-r--r--shell_integration/windows/OCUtil/CommunicationSocket.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/shell_integration/windows/OCUtil/CommunicationSocket.cpp b/shell_integration/windows/OCUtil/CommunicationSocket.cpp
index 7d9956835..b7dd64c32 100644
--- a/shell_integration/windows/OCUtil/CommunicationSocket.cpp
+++ b/shell_integration/windows/OCUtil/CommunicationSocket.cpp
@@ -18,8 +18,6 @@
#include "UtilConstants.h"
#include "StringUtil.h"
-#include "config.h"
-
#include <iostream>
#include <vector>
#include <array>
@@ -47,14 +45,7 @@ std::wstring getUserName() {
std::wstring CommunicationSocket::DefaultPipePath()
{
auto pipename = std::wstring(L"\\\\.\\pipe\\");
-
-#define WIDEN_(exp) L##exp
-#define WIDEN(exp) WIDEN_(exp)
- pipename += WIDEN(APPLICATION_SHORTNAME);
-#undef WIDEN
-#undef WIDEN_
-
- pipename += L"-";
+ pipename += L"ownCloud-";
pipename += getUserName();
return pipename;
}