summaryrefslogtreecommitdiffstats
path: root/network/manager.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-03-22 17:07:24 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-03-22 17:07:24 +0000
commitf844fe4f4284e2961cc4a6ee17cc7ede18a9aaf8 (patch)
treea8239fb3758267f9b5d8af9c84fd2b05a99d9e2f /network/manager.c
parent9cefcf43f42f48d59804c1832e8e5fc9a5abe26e (diff)
network: removed err_generic function
Diffstat (limited to 'network/manager.c')
-rw-r--r--network/manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/manager.c b/network/manager.c
index a73c3147..c9a8d4e4 100644
--- a/network/manager.c
+++ b/network/manager.c
@@ -126,7 +126,7 @@ static DBusHandlerResult create_server(DBusConnection *conn,
if (!dbus_message_get_args(msg, &derr,
DBUS_TYPE_STRING, &uuid,
DBUS_TYPE_INVALID)) {
- err_generic(conn, msg, derr.name, derr.message);
+ err_invalid_args(conn, msg, derr.message);
dbus_error_free(&derr);
return DBUS_HANDLER_RESULT_HANDLED;
}
@@ -162,7 +162,7 @@ static DBusHandlerResult remove_path(DBusConnection *conn,
if (!dbus_message_get_args(msg, &derr,
DBUS_TYPE_STRING, &path,
DBUS_TYPE_INVALID)) {
- err_generic(conn, msg, derr.name, derr.message);
+ err_invalid_args(conn, msg, derr.message);
dbus_error_free(&derr);
return DBUS_HANDLER_RESULT_HANDLED;
}
@@ -224,7 +224,7 @@ static DBusHandlerResult create_connection(DBusConnection *conn,
DBUS_TYPE_STRING, &addr,
DBUS_TYPE_STRING, &uuid,
DBUS_TYPE_INVALID)) {
- err_generic(conn, msg, derr.name, derr.message);
+ err_invalid_args(conn, msg, derr.message);
dbus_error_free(&derr);
return DBUS_HANDLER_RESULT_HANDLED;
}