From: Jaemin Ryu Date: Wed, 13 Jul 2016 01:47:43 +0000 (+0900) Subject: Add .sock suffix to the socket file X-Git-Tag: accepted/tizen/common/20160714.152807~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a77c67aa04aa8436d0812e52be7e1afc1198055a;p=platform%2Fcore%2Fsecurity%2Fdevice-policy-manager.git Add .sock suffix to the socket file Change-Id: I6fd67ba2f3b9457a48289ab125ebe47b7e9393cd Signed-off-by: Jaemin Ryu --- diff --git a/libs/policy-client.cpp b/libs/policy-client.cpp index c1a8eb3..e9356a3 100644 --- a/libs/policy-client.cpp +++ b/libs/policy-client.cpp @@ -21,7 +21,7 @@ namespace { const std::string SUBSCRIBER_REGISTER = "Server::registerNotificationSubscriber"; const std::string SUBSCRIBER_UNREGISTER = "Server::unregisterNotificationSubscriber"; -const std::string POLICY_MANAGER_ADDRESS = "/tmp/.device-policy-manager"; +const std::string POLICY_MANAGER_ADDRESS = "/tmp/.device-policy-manager.sock"; } // namespace diff --git a/server/server.cpp b/server/server.cpp index 158c504..36e0187 100644 --- a/server/server.cpp +++ b/server/server.cpp @@ -24,7 +24,7 @@ using namespace std::placeholders; namespace { -const std::string POLICY_MANAGER_ADDRESS = "/tmp/.device-policy-manager"; +const std::string POLICY_MANAGER_ADDRESS = "/tmp/.device-policy-manager.sock"; } // namespace