summaryrefslogtreecommitdiff
path: root/src/error.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-24 09:29:07 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-24 09:29:07 +0200
commitdb3dab839ab80fde94088efc5c828d48221be447 (patch)
treee49fae6df04cafcfc5baafd01dde4b015cf906c8 /src/error.c
parent33b8b66ff4ec66d8a5426ab10841115a9e7a71b6 (diff)
downloadconnman-db3dab839ab80fde94088efc5c828d48221be447.tar.gz
connman-db3dab839ab80fde94088efc5c828d48221be447.tar.bz2
connman-db3dab839ab80fde94088efc5c828d48221be447.zip
Fix wrong D-Bus error names
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/error.c b/src/error.c
index f8070e92..77a32abe 100644
--- a/src/error.c
+++ b/src/error.c
@@ -101,21 +101,18 @@ DBusMessage *__connman_error_already_enabled(DBusMessage *msg)
{
return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE
".AlreadyEnabled", "Already enabled");
-
}
DBusMessage *__connman_error_already_disabled(DBusMessage *msg)
{
return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE
".AlreadyDisabled", "Already disabled");
-
}
DBusMessage *__connman_error_already_connected(DBusMessage *msg)
{
return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE
".AlreadyConnected", "Already connected");
-
}
DBusMessage *__connman_error_not_connected(DBusMessage *msg)
@@ -126,23 +123,23 @@ DBusMessage *__connman_error_not_connected(DBusMessage *msg)
DBusMessage *__connman_error_operation_aborted(DBusMessage *msg)
{
return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE
- "OperationAborted", "Operation aborted");
+ ".OperationAborted", "Operation aborted");
}
DBusMessage *__connman_error_operation_timeout(DBusMessage *msg)
{
return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE
- "OperationTimeout", "Operation timeout");
+ ".OperationTimeout", "Operation timeout");
}
DBusMessage *__connman_error_invalid_service(DBusMessage *msg)
{
return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE
- "InvalidService", "Invalid service");
+ ".InvalidService", "Invalid service");
}
DBusMessage *__connman_error_invalid_property(DBusMessage *msg)
{
return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE,
- "InvalidProperty", "Invalid property");
+ ".InvalidProperty", "Invalid property");
}