OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0852ad0
)
obexd: The function g_dbus_pending_property_error has no return value
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 30 Dec 2012 05:24:26 +0000
(21:24 -0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 30 Dec 2012 05:24:26 +0000
(21:24 -0800)
obexd/client/map.c
patch
|
blob
|
history
diff --git
a/obexd/client/map.c
b/obexd/client/map.c
index
319d60e
..
df2b0bf
100644
(file)
--- a/
obexd/client/map.c
+++ b/
obexd/client/map.c
@@
-574,10
+574,12
@@
static void set_status(const GDBusPropertyTable *property,
GObexApparam *apparam;
char contents[2];
- if (dbus_message_iter_get_arg_type(iter) != DBUS_TYPE_BOOLEAN)
-
return
g_dbus_pending_property_error(id,
+ if (dbus_message_iter_get_arg_type(iter) != DBUS_TYPE_BOOLEAN)
{
+ g_dbus_pending_property_error(id,
ERROR_INTERFACE ".InvalidArguments",
"Invalid arguments in method call");
+ return;
+ }
dbus_message_iter_get_basic(iter, &value);