diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2013-10-04 11:05:37 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2013-10-04 14:10:33 +0300 |
commit | 15777b97b41312178e0c7b4d72572161fff4a608 (patch) | |
tree | cba770740ece4cd2de96083704825f34f8aee575 /obexd | |
parent | 2acbd111a9b8163b3c399a318107f978e1d3c977 (diff) |
obexd/MAP: Fix protected property value
"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
Diffstat (limited to 'obexd')
-rw-r--r-- | obexd/client/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 }, { } }; |