diff options
-rw-r--r-- | src/DBus.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/DBus.cpp b/src/DBus.cpp index a2bafbe..cc7b5ae 100644 --- a/src/DBus.cpp +++ b/src/DBus.cpp @@ -100,12 +100,10 @@ DBus::call( int in_type, ...) { - bool ret; va_list ap; - va_start(ap, in_type); - ret = _app->dbus()->call( + bool ret = _app->dbus()->call( response_expected, serivce, object, @@ -117,5 +115,5 @@ DBus::call( va_end(ap); - return (ap != NULL); + return ret; } |