summaryrefslogtreecommitdiffstats
path: root/src/CLI
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-02 14:53:26 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-02 14:53:26 +0100
commit1da192165c145805c32e2e13afbccc52b8a76ab6 (patch)
treeef1e580729c1eba80b43ed838d0d60ce9aaf1618 /src/CLI
parentb725e7178f99621988f4913d5967be830d7a5834 (diff)
downloadabrt-1da192165c145805c32e2e13afbccc52b8a76ab6.tar.gz
abrt-1da192165c145805c32e2e13afbccc52b8a76ab6.tar.xz
abrt-1da192165c145805c32e2e13afbccc52b8a76ab6.zip
s/CC_DBUS_/ABRTD_DBUS_/g
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/CLI')
-rw-r--r--src/CLI/dbus.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CLI/dbus.cpp b/src/CLI/dbus.cpp
index f59633ec..3f7b0ae8 100644
--- a/src/CLI/dbus.cpp
+++ b/src/CLI/dbus.cpp
@@ -27,7 +27,7 @@ DBusConnection* s_dbus_conn;
/* helpers */
static DBusMessage* new_call_msg(const char* method)
{
- DBusMessage* msg = dbus_message_new_method_call(CC_DBUS_NAME, CC_DBUS_PATH, CC_DBUS_IFACE, method);
+ DBusMessage* msg = dbus_message_new_method_call(ABRTD_DBUS_NAME, ABRTD_DBUS_PATH, ABRTD_DBUS_IFACE, method);
if (!msg)
die_out_of_memory();
return msg;
@@ -72,7 +72,7 @@ static DBusMessage* send_get_reply_and_unref(DBusMessage* msg)
DBusError err;
dbus_error_init(&err);
- if (dbus_message_is_signal(received, CC_DBUS_IFACE, "Update"))
+ if (dbus_message_is_signal(received, ABRTD_DBUS_IFACE, "Update"))
{
const char *update_msg;
if (!dbus_message_get_args(received, &err,
@@ -83,7 +83,7 @@ static DBusMessage* send_get_reply_and_unref(DBusMessage* msg)
}
printf(">> %s\n", update_msg);
}
- else if (dbus_message_is_signal(received, CC_DBUS_IFACE, "Warning"))
+ else if (dbus_message_is_signal(received, ABRTD_DBUS_IFACE, "Warning"))
{
const char *warning_msg;
if (!dbus_message_get_args(received, &err,
@@ -181,5 +181,5 @@ void handle_dbus_err(bool error_flag, DBusError *err)
error_msg_and_die(
"error requesting DBus name %s, possible reasons: "
"abrt run by non-root; dbus config is incorrect",
- CC_DBUS_NAME);
+ ABRTD_DBUS_NAME);
}