From 15777b97b41312178e0c7b4d72572161fff4a608 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Fri, 4 Oct 2013 11:05:37 +0200 Subject: [PATCH] obexd/MAP: Fix protected property value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "Sent" flag value was returned instead of "Protected" one. This also fix following build error: CC obexd/client/obexd-map.o obexd/client/map.c:711:17: error: ‘get_protected’ defined but not used [-Werror=unused-function] cc1: all warnings being treated as errors --- obexd/client/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obexd/client/map.c b/obexd/client/map.c index 801d715f7..4373d746c 100644 --- a/obexd/client/map.c +++ b/obexd/client/map.c @@ -814,7 +814,7 @@ static const GDBusPropertyTable map_msg_properties[] = { { "Priority", "b", get_priority }, { "Read", "b", get_read, set_read }, { "Sent", "b", get_sent }, - { "Protected", "b", get_sent }, + { "Protected", "b", get_protected }, { "Deleted", "b", NULL, set_deleted }, { } }; -- 2.47.3