diff options
author | Markus Goetz <markus@woboq.com> | 2019-10-07 17:39:24 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2019-10-07 21:51:09 +0300 |
commit | 6bdef055d17d180d4af1faf69c7482d68798e247 (patch) | |
tree | 3e86c9f0d598978357329d6ede16fc3866cc1269 /shell_integration | |
parent | cb4973b7f7ffcb678b9c88528d6ee44da1e87458 (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.cpp | 11 |
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; } |