X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Futils-jbus.c;h=1f85a4cd5b4d34f561392e0a4fdd4194c3752f70;hb=2d2621a1c807fe9f08d7f4bcfdb2bdc30a2a0f87;hp=e379921c8a7caf1cf0a447f0af2917d30991310c;hpb=c9c0f8989ec6cdd55a8e584e8c93041ae2126282;p=src%2Fapp-framework-main.git diff --git a/src/utils-jbus.c b/src/utils-jbus.c index e379921..1f85a4c 100644 --- a/src/utils-jbus.c +++ b/src/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;