Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
14b0b56
)
afm-plugin: update utils-jbus version
author
José Bollo
<jose.bollo@iot.bzh>
Tue, 26 Jan 2016 20:40:16 +0000
(21:40 +0100)
committer
José Bollo
<jose.bollo@iot.bzh>
Tue, 26 Jan 2016 20:40:16 +0000
(21:40 +0100)
Change-Id: Iafc6b6776bf10722a6217678c5a6847cc3fb0bfb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
plugins/afm-main-plugin/utils-jbus.c
patch
|
blob
|
history
diff --git
a/plugins/afm-main-plugin/utils-jbus.c
b/plugins/afm-main-plugin/utils-jbus.c
index
e379921
..
1f85a4c
100644
(file)
--- a/
plugins/afm-main-plugin/utils-jbus.c
+++ b/
plugins/afm-main-plugin/utils-jbus.c
@@
-268,7
+268,9
@@
static DBusHandlerResult incoming_resp(DBusConnection *connection, DBusMessage *
*prv = jrw->next;
/* retrieve the string value */
- if (!dbus_message_get_args(message, NULL, DBUS_TYPE_STRING, &str, DBUS_TYPE_INVALID)) {
+ if (dbus_message_get_args(message, NULL, DBUS_TYPE_STRING, &str, DBUS_TYPE_INVALID))
+ status = 0;
+ else {
status = -1;
str = NULL;
reply = NULL;