summaryrefslogtreecommitdiffstats
path: root/src/Daemon
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-04 16:00:12 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-04 16:00:12 +0100
commit917f59f0d812a3f01e3b6e6e0ab16ede041d2daf (patch)
tree1cb0512a0f37ffff030590d65e15bbb060ee76ee /src/Daemon
parent408b904db46c37c59ac2f40edd5fe42fd0cac1d2 (diff)
downloadabrt-917f59f0d812a3f01e3b6e6e0ab16ede041d2daf.tar.gz
abrt-917f59f0d812a3f01e3b6e6e0ab16ede041d2daf.tar.xz
abrt-917f59f0d812a3f01e3b6e6e0ab16ede041d2daf.zip
dbus: stop returning bool from DeleteDebugDump call, it's not needed
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon')
-rw-r--r--src/Daemon/CommLayerServerDBus.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Daemon/CommLayerServerDBus.cpp b/src/Daemon/CommLayerServerDBus.cpp
index 8f3f5044..27a18c24 100644
--- a/src/Daemon/CommLayerServerDBus.cpp
+++ b/src/Daemon/CommLayerServerDBus.cpp
@@ -315,11 +315,7 @@ static int handle_DeleteDebugDump(DBusMessage* call, DBusMessage* reply)
}
long unix_uid = get_remote_uid(call);
- bool argout1 = DeleteDebugDump(argin1, to_string(unix_uid).c_str());
-
- dbus_message_append_args(reply,
- DBUS_TYPE_BOOLEAN, &argout1,
- DBUS_TYPE_INVALID);
+ DeleteDebugDump(argin1, to_string(unix_uid).c_str());
send_flush_and_unref(reply);
return 0;