[Pkg-owncloud-commits] [owncloud-client] 456/470: Windows Shell Integration: Fix another spot where the pipe path was constructed manually

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu May 12 16:25:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 9d6701ecbec85d389be36b167905c9c1e14e99f7
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Tue May 10 13:49:14 2016 +0200

    Windows Shell Integration: Fix another spot where the pipe path was constructed manually
---
 shell_integration/windows/OCContextMenu/OCClientInterface.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/shell_integration/windows/OCContextMenu/OCClientInterface.cpp b/shell_integration/windows/OCContextMenu/OCClientInterface.cpp
index 598a10d..0ddf663 100644
--- a/shell_integration/windows/OCContextMenu/OCClientInterface.cpp
+++ b/shell_integration/windows/OCContextMenu/OCClientInterface.cpp
@@ -71,8 +71,7 @@ OCClientInterface::ContextMenuInfo OCClientInterface::FetchInfo()
 
 void OCClientInterface::ShareObject(const std::wstring &path)
 {
-	auto pipename = std::wstring(L"\\\\.\\pipe\\");
-	pipename += L"ownCloud";
+	auto pipename = CommunicationSocket::DefaultPipePath();
 
 	CommunicationSocket socket;
 	if (!WaitNamedPipe(pipename.data(), PIPE_TIMEOUT)) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list