diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2006-10-03 19:19:58 +0000 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2006-10-03 19:19:58 +0000 | 
| commit | 6af2f85288b058b3a575622b01af6869100a7398 (patch) | |
| tree | e50eed9b3937603279904b5c982ddb024d67c04e /hcid/dbus-error.c | |
| parent | 7880ff6d0f3b877d16f5d1119120ee73344dd402 (diff) | |
More AuditRemoteDevice implementation
Diffstat (limited to 'hcid/dbus-error.c')
| -rw-r--r-- | hcid/dbus-error.c | 8 | 
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) | 
