diff options
Diffstat (limited to 'shell_integration/windows/NCUtil/CommunicationSocket.cpp')
-rw-r--r-- | shell_integration/windows/NCUtil/CommunicationSocket.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell_integration/windows/NCUtil/CommunicationSocket.cpp b/shell_integration/windows/NCUtil/CommunicationSocket.cpp index cda36c1b8..e0ac699ae 100644 --- a/shell_integration/windows/NCUtil/CommunicationSocket.cpp +++ b/shell_integration/windows/NCUtil/CommunicationSocket.cpp @@ -14,6 +14,7 @@ #include "CommunicationSocket.h" #include "StringUtil.h" +#include "WinShellExtConstants.h" #include <iostream> #include <vector> @@ -42,7 +43,8 @@ std::wstring getUserName() { std::wstring CommunicationSocket::DefaultPipePath() { auto pipename = std::wstring(LR"(\\.\pipe\)"); - pipename += L"ownCloud-"; + pipename += std::wstring(UTIL_PIPE_APP_NAME); + pipename += L"-"; pipename += getUserName(); return pipename; } |