summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-error.c')
-rw-r--r--hcid/dbus-error.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hcid/dbus-error.c b/hcid/dbus-error.c
index 82415cef..3944ffec 100644
--- a/hcid/dbus-error.c
+++ b/hcid/dbus-error.c
@@ -143,16 +143,16 @@ static DBusHandlerResult error_in_progress(DBusConnection *conn, DBusMessage *ms
dbus_message_new_error(msg, ERROR_INTERFACE ".InProgress", str));
}
-static DBusHandlerResult error_not_in_progress(DBusConnection *conn, DBusMessage *msg, const char *str)
+static DBusHandlerResult error_canceled(DBusConnection *conn, DBusMessage *msg, const char *str)
{
return send_reply_and_unref(conn,
- dbus_message_new_error(msg, ERROR_INTERFACE ".NotInProgress", str));
+ dbus_message_new_error(msg, ERROR_INTERFACE ".Canceled", str));
}
-static DBusHandlerResult error_canceled(DBusConnection *conn, DBusMessage *msg, const char *str)
+DBusHandlerResult error_not_in_progress(DBusConnection *conn, DBusMessage *msg, const char *str)
{
return send_reply_and_unref(conn,
- dbus_message_new_error(msg, ERROR_INTERFACE ".Canceled", str));
+ dbus_message_new_error(msg, ERROR_INTERFACE ".NotInProgress", str));
}
DBusHandlerResult error_connect_canceled(DBusConnection *conn, DBusMessage *msg)